Details

Time bar (total: 2.3s)

sample19.0ms

Algorithm
intervals
Results
7.0ms326×body80valid

simplify72.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: 11.4b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite116.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:
75.0ms
(* x (+ (- y z) 1.0))
40.0ms
(/ (* x (+ (- y z) 1.0)) z)

series66.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0262303
11268253
25002253

prune102.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
(/ z (+ (- y z) 1.0))
4.0b
(/ x (/ z (+ (- y z) 1.0)))

rewrite85.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 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
Counts
2 → 143
Calls
2 calls:
36.0ms
(/ z (+ (- y z) 1.0))
41.0ms
(/ x (/ z (+ (- y z) 1.0)))

series84.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04631195
121431142
250011140

prune264.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize8.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)
5.2b
(/ (* x y) z)

rewrite18.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))
6.0ms
(- (fma 1.0 (/ x z) (/ (* x y) z)) x)
9.0ms
(/ (* x y) z)

series101.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(fma 1.0 (/ x z) (/ (* x y) z))
35.0ms
(- (fma 1.0 (/ x z) (/ (* x y) z)) x)
20.0ms
(/ (* x y) z)

simplify38.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0235493
11042390
25002384

prune130.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
31×add-sqr-sqrt *-un-lft-identity
30×add-exp-log
29×add-cube-cbrt
18×add-cbrt-cube
14×div-exp
prod-diff
associate-/r*
cbrt-undiv
div-inv associate-/l* add-log-exp
pow1
expm1-log1p-u prod-exp log1p-expm1-u
rec-exp fma-neg 1-exp
frac-2neg clear-num cbrt-unprod fma-udef
sub-neg flip3-- pow-flip diff-log associate--l+ associate-/r/ flip-- distribute-lft-out-- inv-pow difference-of-squares
Counts
4 → 120
Calls
4 calls:
0.0ms
(fma 1.0 (/ x z) (/ 1 (/ z (* x y))))
6.0ms
(- (fma 1.0 (/ x z) (/ 1 (/ z (* x y)))) x)
15.0ms
(/ 1 (/ z (* x y)))
7.0ms
(/ z (* x y))

series121.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(fma 1.0 (/ x z) (/ 1 (/ z (* x y))))
36.0ms
(- (fma 1.0 (/ x z) (/ 1 (/ z (* x y)))) x)
22.0ms
(/ 1 (/ z (* x y)))
18.0ms
(/ z (* x y))

simplify59.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0393880
11749709
25001659

prune217.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes90.0ms

Accuracy

88.5% (0.4b remaining)

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

bsearch52.0ms

Steps
ItersRangePoint
7
9.593076442092601e-62
3.941738287388325e-60
2.201016357696082e-60
7
-9.022777940030645e+106
-6.429426595456313e+104
-8.180654286668062e+104

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02310
12310

end0.0ms

sample506.0ms

Algorithm
intervals
Results
232.0ms10028×body80valid