Details

Time bar (total: 2.6s)

sample33.0ms

Algorithm
intervals
Results
21.0ms337×body80valid

simplify97.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0224
1464
21214
32584
44344
56874
619574
750024

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.9b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite56.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:
37.0ms
(* x (+ (- y z) 1.0))
18.0ms
(/ (* x (+ (- y z) 1.0)) z)

series82.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0262303
11268253
25002253

prune121.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (fma 1.0 (/ x z) (/ (* x y) z)) x)
0.0b
(fma 1.0 (/ x z) (/ (* x y) z))
5.0b
(/ (* 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:
3.0ms
(- (fma 1.0 (/ x z) (/ (* x y) z)) x)
0.0ms
(fma 1.0 (/ x z) (/ (* x y) z))
3.0ms
(/ (* x y) z)

series124.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(- (fma 1.0 (/ x z) (/ (* x y) z)) x)
53.0ms
(fma 1.0 (/ x z) (/ (* x y) z))
24.0ms
(/ (* x y) z)

simplify48.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0235493
11042390
25002384

prune166.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log
19×add-sqr-sqrt *-un-lft-identity
17×add-cube-cbrt
15×add-cbrt-cube
13×associate-*r*
12×prod-exp
times-frac prod-diff
pow1
cbrt-unprod
add-log-exp
div-exp
expm1-log1p-u fma-neg pow-prod-down log1p-expm1-u
cbrt-undiv rec-exp 1-exp fma-udef
sub-neg flip3-- diff-log associate-*r/ associate-*l* associate--l+ un-div-inv *-commutative flip-- div-inv distribute-lft-out-- difference-of-squares
Counts
3 → 79
Calls
3 calls:
3.0ms
(- (fma 1.0 (/ x z) (* (* x y) (/ 1 z))) x)
0.0ms
(fma 1.0 (/ x z) (* (* x y) (/ 1 z)))
11.0ms
(* (* x y) (/ 1 z))

series127.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(- (fma 1.0 (/ x z) (* (* x y) (/ 1 z))) x)
61.0ms
(fma 1.0 (/ x z) (* (* x y) (/ 1 z)))
22.0ms
(* (* x y) (/ 1 z))

simplify68.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0371650
11856494
25002472

prune202.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
20×*-un-lft-identity
18×add-cube-cbrt
13×associate-*r*
10×times-frac
prod-diff
add-exp-log add-cbrt-cube
pow1 add-log-exp
expm1-log1p-u fma-neg associate-*l* log1p-expm1-u
prod-exp cbrt-unprod fma-udef unswap-sqr
cbrt-undiv sub-neg flip3-- diff-log associate-*r/ div-exp pow-prod-down associate--l+ *-commutative flip-- div-inv distribute-lft-out-- difference-of-squares
Counts
3 → 73
Calls
3 calls:
3.0ms
(- (fma 1.0 (/ x z) (* x (/ y z))) x)
0.0ms
(fma 1.0 (/ x z) (* x (/ y z)))
8.0ms
(* x (/ y z))

series128.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0288540
11259438
25002432

prune194.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes84.0ms

Accuracy

47.4% (1.7b remaining)

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

bsearch51.0ms

Steps
ItersRangePoint
9
3.6222469794403684e-107
2.8787808973289545e-98
3.5216806508699143e-102

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
12310

end0.0ms

sample872.0ms

Algorithm
intervals
Results
644.0ms10017×body80valid