Details

Time bar (total: 2.0s)

sample18.0ms

Algorithm
intervals
Results
8.0ms339×body80valid

simplify73.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: 10.9b

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series72.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0262303
11268253
25002253

prune103.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize8.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.6b
(/ (* 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)

series107.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(- (fma 1.0 (/ x z) (/ (* x y) z)) x)
50.0ms
(fma 1.0 (/ x z) (/ (* x y) z))
19.0ms
(/ (* x y) z)

simplify37.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0235493
11042390
25002384

prune139.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)
2.7b
(* (/ x z) (+ 1.0 y))

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

series75.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0413354
11715314
25003314

prune133.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (fma 1.0 (/ x z) (/ x (/ z y))) x)
0.0b
(fma 1.0 (/ x z) (/ x (/ z y)))
8.2b
(/ x (/ z y))

rewrite15.0ms

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

series110.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(- (fma 1.0 (/ x z) (/ x (/ z y))) x)
48.0ms
(fma 1.0 (/ x z) (/ x (/ z y)))
20.0ms
(/ x (/ z y))

simplify55.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0447859
11933739
25001727

prune278.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes85.0ms

Accuracy

92.8% (0.1b remaining)

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

bsearch73.0ms

Steps
ItersRangePoint
10
3.0363085462928273e-66
4.862453958107598e-51
3.8730830355980695e-51
8
-4.269709194350964e-29
-1.2918368758145967e-31
-5.040876321509936e-30

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02514
12514

end0.0ms

sample463.0ms

Algorithm
intervals
Results
256.0ms10048×body80valid