Details

Time bar (total: 3.0s)

sample22.0ms

Algorithm
intervals
Results
11.0ms332×body80valid

simplify92.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0224
1464
21214
32584
44344
56874
619574
750024

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.9b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite59.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 expm1-log1p-u flip3-+ div-exp prod-exp cbrt-unprod flip-+ log1p-expm1-u 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 → 51
Calls
2 calls:
39.0ms
(* x (+ (- y z) 1.0))
18.0ms
(/ (* x (+ (- y z) 1.0)) z)

series78.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0262303
11268253
25002253

prune126.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 1.0 (/ x z) (/ (* x y) z))
0.0b
(- (fma 1.0 (/ x z) (/ (* x y) z)) x)
6.4b
(/ (* x y) z)

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt *-un-lft-identity
12×add-cube-cbrt
prod-diff
add-exp-log add-cbrt-cube
add-log-exp
pow1 expm1-log1p-u times-frac fma-neg associate-/r* log1p-expm1-u
cbrt-undiv div-exp fma-udef
sub-neg flip3-- frac-2neg diff-log prod-exp associate--l+ clear-num flip-- cbrt-unprod div-inv associate-/l* distribute-lft-out-- difference-of-squares
Counts
3 → 62
Calls
3 calls:
0.0ms
(fma 1.0 (/ x z) (/ (* x y) z))
3.0ms
(- (fma 1.0 (/ x z) (/ (* x y) z)) x)
3.0ms
(/ (* x y) z)

series126.0ms

Counts
3 → 9
Calls
3 calls:
61.0ms
(fma 1.0 (/ x z) (/ (* x y) z))
44.0ms
(- (fma 1.0 (/ x z) (/ (* x y) z)) x)
21.0ms
(/ (* x y) z)

simplify53.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0235493
11042390
25002384

prune160.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
13×*-un-lft-identity associate-*l*
11×add-cube-cbrt
10×times-frac
add-exp-log add-cbrt-cube
pow1 associate-*r* add-log-exp
prod-diff
distribute-rgt-in expm1-log1p-u frac-times distribute-lft-in flip3-+ associate-*r/ prod-exp associate--l+ cbrt-unprod flip-+ log1p-expm1-u unswap-sqr
cbrt-undiv sub-neg flip3-- fma-neg diff-log div-exp pow-prod-down associate-*l/ *-commutative flip-- div-inv distribute-lft-out
Counts
2 → 61
Calls
2 calls:
8.0ms
(- (* (/ x z) (+ 1.0 y)) x)
14.0ms
(* (/ x z) (+ 1.0 y))

series87.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
0413354
11715314
25003314

prune152.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt z)
0.5b
(cbrt z)
0.5b
(* (cbrt z) (cbrt z))
3.5b
(* (/ x (* (cbrt z) (cbrt z))) (/ y (cbrt z)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
53×add-sqr-sqrt
33×cbrt-prod
29×add-cube-cbrt *-un-lft-identity
28×times-frac associate-*r*
27×add-exp-log
18×add-cbrt-cube
13×pow1 associate-*l*
10×unswap-sqr
prod-exp cbrt-unprod
pow1/3
cbrt-undiv div-exp
swap-sqr
expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down
pow-sqr *-commutative pow-prod-up div-inv
pow2 frac-times pow-plus associate-*r/ associate-*l/
Counts
4 → 129
Calls
4 calls:
0.0ms
(cbrt z)
1.0ms
(cbrt z)
6.0ms
(* (cbrt z) (cbrt z))
28.0ms
(* (/ x (* (cbrt z) (cbrt z))) (/ y (cbrt z)))

series649.0ms

Counts
4 → 12
Calls
4 calls:
197.0ms
(cbrt z)
187.0ms
(cbrt z)
212.0ms
(* (cbrt z) (cbrt z))
52.0ms
(* (/ x (* (cbrt z) (cbrt z))) (/ y (cbrt z)))

simplify99.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
0489884
12850720
25001669

prune414.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

regimes109.0ms

Accuracy

88.8% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 1.7b

bsearch79.0ms

Steps
ItersRangePoint
9
3.6436075184653607e+37
1.194598219605188e+47
1.0421712403149794e+38
8
-2.1794466583806566e+73
-9.064317627469927e+68
-3.2617255565119487e+69

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02310
12310

end0.0ms

sample459.0ms

Algorithm
intervals
Results
245.0ms10110×body80valid