Details

Time bar (total: 2.2s)

sample18.0ms

Algorithm
intervals
Results
8.0ms328×body80valid

simplify78.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.2b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite64.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:
43.0ms
(* x (+ (- y z) 1.0))
19.0ms
(/ (* x (+ (- y z) 1.0)) z)

series82.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0262303
11268253
25002253

prune127.0ms

Pruning

7 alts after pruning (7 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))
6.7b
(/ (* x y) z)

rewrite9.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))
4.0ms
(/ (* x y) z)

series124.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(- (fma 1.0 (/ x z) (/ (* x y) z)) x)
59.0ms
(fma 1.0 (/ x z) (/ (* x y) z))
22.0ms
(/ (* x y) z)

simplify46.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0235493
11042390
25002384

prune175.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite29.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)
19.0ms
(* (/ x z) (+ 1.0 y))

series86.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0413354
11715314
25003314

prune151.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize13.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)))
6.8b
(* (* x y) (/ 1 z))

rewrite18.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))

series126.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0371650
11856494
25002472

prune196.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes91.0ms

Accuracy

93.8% (0.1b remaining)

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

bsearch82.0ms

Steps
ItersRangePoint
10
1.6507518246557455e-43
1.8793537737921384e-32
8.649219799147649e-36
6
-3.072127055585697e+28
-2.701315959983062e+27
-3.4374981009777875e+27

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03114
13114

end0.0ms

sample451.0ms

Algorithm
intervals
Results
250.0ms10090×body80valid