Details

Time bar (total: 1.8s)

sample17.0ms

Algorithm
intervals
Results
8.0ms321×body80valid

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0224
1444
21144
32204
43544
55504
616694
750014

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.9b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ (- y z) 1.0))
10.2b
(/ (* x (+ (- y z) 1.0)) z)

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
associate-*r*
pow1 associate-*r/
times-frac associate-*l* associate-/r*
cbrt-undiv flip3-+ div-exp prod-exp cbrt-unprod flip-+ associate-/l/ distribute-lft-out add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv associate-/l* distribute-lft-out-- unswap-sqr
Counts
2 → 47
Calls
2 calls:
8.0ms
(* x (+ (- y z) 1.0))
9.0ms
(/ (* x (+ (- y z) 1.0)) z)

series70.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(* x (+ (- y z) 1.0))
38.0ms
(/ (* x (+ (- y z) 1.0)) z)

simplify38.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0254285
11225238
25001238

prune90.0ms

Filtered
53 candidates to 35 candidates (66.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ z (+ (- y z) 1.0))
3.7b
(/ x (/ z (+ (- y z) 1.0)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
150×*-un-lft-identity
138×times-frac
70×add-sqr-sqrt add-cube-cbrt
32×distribute-lft-out
26×associate-/r*
16×distribute-lft-out--
11×associate-/r/
add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv div-exp
pow1 frac-2neg clear-num add-log-exp
Counts
2 → 139
Calls
2 calls:
7.0ms
(/ z (+ (- y z) 1.0))
11.0ms
(/ x (/ z (+ (- y z) 1.0)))

series86.0ms

Counts
2 → 6
Calls
2 calls:
47.0ms
(/ z (+ (- y z) 1.0))
39.0ms
(/ x (/ z (+ (- y z) 1.0)))

simplify56.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04551177
121101129
250021126

prune242.0ms

Filtered
145 candidates to 93 candidates (64.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ (- y z) 1.0) z)
3.7b
(* x (/ (+ (- y z) 1.0) z))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
57×*-un-lft-identity
31×times-frac
27×add-sqr-sqrt
22×add-cube-cbrt
19×associate-*r*
14×distribute-lft-out
add-exp-log add-cbrt-cube
distribute-lft-out--
associate-/l*
pow1
associate-*l* associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ add-log-exp unswap-sqr
associate-+l- frac-2neg flip3-+ div-sub associate-*r/ pow-prod-down clear-num *-commutative flip-+
Counts
2 → 76
Calls
2 calls:
14.0ms
(/ (+ (- y z) 1.0) z)
20.0ms
(* x (/ (+ (- y z) 1.0) z))

series91.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(/ (+ (- y z) 1.0) z)
64.0ms
(* x (/ (+ (- y z) 1.0) z))

simplify37.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0267479
11167438
25001432

prune118.0ms

Filtered
82 candidates to 49 candidates (59.8%)
Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize6.0ms

Local error

Found 1 expressions with local error:

9.9b
(* (/ x z) (+ (- y z) 1.0))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt *-un-lft-identity
13×associate-*l*
10×times-frac
add-cube-cbrt
add-exp-log add-cbrt-cube
associate-*r*
pow1
frac-times flip3-+ associate-*r/ prod-exp cbrt-unprod flip-+ distribute-lft-out unswap-sqr
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp pow-prod-down associate-*l/ *-commutative div-inv distribute-lft-out-- add-log-exp
Counts
1 → 40
Calls
1 calls:
13.0ms
(* (/ x z) (+ (- y z) 1.0))

series40.0ms

Counts
1 → 3
Calls
1 calls:
40.0ms
(* (/ x z) (+ (- y z) 1.0))

simplify35.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0334267
11328239
25001233

prune72.0ms

Filtered
43 candidates to 29 candidates (67.4%)
Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes98.0ms

Accuracy

97.4% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 3.4b

bsearch76.0ms

Steps
ItersRangePoint
9
7.2502309439757415e-25
8.67121852713505e-19
3.717234643383147e-19
10
-172457.58177959494
-2.5686370651019963e-14
-1.9866928941594857

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02112
12112

end0.0ms

sample450.0ms

Algorithm
intervals
Results
252.0ms10065×body80valid