Details

Time bar (total: 2.7s)

sample20.0ms

Algorithm
intervals
Results
7.0ms337×body80valid

simplify70.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0224
1444
21144
32204
43544
55504
616694
750014

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.9b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ (- y z) 1.0))
10.2b
(/ (* 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 flip3-+ div-exp prod-exp cbrt-unprod flip-+ 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 → 47
Calls
2 calls:
74.0ms
(* x (+ (- y z) 1.0))
41.0ms
(/ (* x (+ (- y z) 1.0)) z)

series66.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0254285
11225238
25001238

prune95.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ z (+ (- y z) 1.0))
3.7b
(/ 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 frac-2neg clear-num add-log-exp
Counts
2 → 139
Calls
2 calls:
37.0ms
(/ z (+ (- y z) 1.0))
41.0ms
(/ x (/ z (+ (- y z) 1.0)))

series82.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04551177
121101129
250021126

prune254.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite149.0ms

Algorithm
rewrite-expression-head
Rules
57×*-un-lft-identity
31×times-frac
27×add-sqr-sqrt
22×add-cube-cbrt
19×associate-*r*
14×distribute-lft-out
add-exp-log add-cbrt-cube
distribute-lft-out--
associate-/l*
pow1
associate-*l* associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ add-log-exp unswap-sqr
associate-+l- frac-2neg flip3-+ div-sub associate-*r/ pow-prod-down clear-num *-commutative flip-+
Counts
2 → 76
Calls
2 calls:
66.0ms
(/ (+ (- y z) 1.0) z)
80.0ms
(* x (/ (+ (- y z) 1.0) z))

series60.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0267479
11167438
25001432

prune135.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ z (+ (- y z) 1.0))
0.1b
(/ 1 (/ z (+ (- y z) 1.0)))
3.7b
(* x (/ 1 (/ z (+ (- y z) 1.0))))

rewrite194.0ms

Algorithm
rewrite-expression-head
Rules
252×times-frac
248×*-un-lft-identity
135×add-sqr-sqrt
121×add-cube-cbrt
68×associate-*r*
50×distribute-lft-out
35×add-exp-log
26×associate-/r*
25×distribute-lft-out--
19×add-cbrt-cube
18×associate-/r/
15×div-exp
10×div-inv
flip3-+ flip-+
cbrt-undiv prod-exp
pow1 associate-/l*
unswap-sqr
rec-exp 1-exp
associate-*l* cbrt-unprod add-log-exp
frac-2neg clear-num
pow-flip associate-*r/ pow-prod-down un-div-inv *-commutative inv-pow
Counts
3 → 242
Calls
3 calls:
36.0ms
(/ z (+ (- y z) 1.0))
44.0ms
(/ 1 (/ z (+ (- y z) 1.0)))
100.0ms
(* x (/ 1 (/ z (+ (- y z) 1.0))))

series105.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(/ z (+ (- y z) 1.0))
27.0ms
(/ 1 (/ z (+ (- y z) 1.0)))
38.0ms
(* x (/ 1 (/ z (+ (- y z) 1.0))))

simplify91.0ms

Algorithm
egg-herbie
Counts
251 → 251
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
06721881
135061653
250011458

prune322.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

regimes129.0ms

Accuracy

94.3% (0.2b remaining)

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

bsearch23.0ms

Steps
ItersRangePoint
6
1.401683541806379e-28
8.137114818164812e-28
3.0566564905939977e-28
0
-9.366104350108347e+51
-9.307728119781708e+51
-9.336916234945028e+51

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0269
1269

end0.0ms

sample505.0ms

Algorithm
intervals
Results
227.0ms10123×body80valid