Details

Time bar (total: 2.9s)

sample17.0ms

Algorithm
intervals
Results
7.0ms320×body80valid

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0224
1444
21144
32204
43544
55504
616694
750014

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.7b

localize10.0ms

Local error

Found 2 expressions with local error:

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

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

series75.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0254285
11225238
25001238

prune90.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ z (+ (- y z) 1.0))
2.7b
(/ x (/ z (+ (- y z) 1.0)))

rewrite27.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:
8.0ms
(/ z (+ (- y z) 1.0))
11.0ms
(/ x (/ z (+ (- y z) 1.0)))

series90.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04551177
121101129
250021126

prune263.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ z (+ (- y z) 1.0))
0.2b
(/ 1 (/ (/ z (+ (- y z) 1.0)) x))
2.6b
(/ (/ z (+ (- y z) 1.0)) x)

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
771×times-frac
595×*-un-lft-identity
335×add-sqr-sqrt add-cube-cbrt
104×distribute-lft-out
75×associate-/r*
52×distribute-lft-out--
35×associate-/r/
31×add-exp-log
27×associate-/l*
23×div-inv
19×div-exp add-cbrt-cube
17×flip3-+ flip-+
10×cbrt-undiv
pow1
rec-exp frac-2neg 1-exp clear-num add-log-exp
pow-flip associate-/l/ inv-pow
Counts
3 → 435
Calls
3 calls:
8.0ms
(/ z (+ (- y z) 1.0))
22.0ms
(/ 1 (/ (/ z (+ (- y z) 1.0)) x))
12.0ms
(/ (/ z (+ (- y z) 1.0)) x)

series149.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(/ z (+ (- y z) 1.0))
34.0ms
(/ 1 (/ (/ z (+ (- y z) 1.0)) x))
64.0ms
(/ (/ z (+ (- y z) 1.0)) x)

simplify72.0ms

Algorithm
egg-herbie
Counts
444 → 444
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012744865
150014384

prune710.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
106×*-un-lft-identity
102×times-frac
58×add-exp-log
41×add-sqr-sqrt add-cube-cbrt add-cbrt-cube
26×associate-*l* associate-/r* distribute-lft-out
21×prod-exp cbrt-unprod
19×cbrt-undiv div-exp
13×distribute-lft-out--
10×associate-/r/
pow1
div-inv
flip3-+ flip-+ associate-/l*
pow-prod-down add-log-exp
frac-2neg clear-num
associate-*r* associate-*l/ *-commutative
Counts
3 → 157
Calls
3 calls:
8.0ms
(/ z (+ (- y z) 1.0))
14.0ms
(/ (* (cbrt 1) (cbrt 1)) (/ z (+ (- y z) 1.0)))
19.0ms
(* (/ (* (cbrt 1) (cbrt 1)) (/ z (+ (- y z) 1.0))) (* (cbrt 1) x))

series114.0ms

Counts
3 → 9
Calls
3 calls:
49.0ms
(/ z (+ (- y z) 1.0))
25.0ms
(/ (* (cbrt 1) (cbrt 1)) (/ z (+ (- y z) 1.0)))
40.0ms
(* (/ (* (cbrt 1) (cbrt 1)) (/ z (+ (- y z) 1.0))) (* (cbrt 1) x))

simplify88.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
06361600
133941331
250011100

prune297.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes86.0ms

Accuracy

91.6% (0.3b remaining)

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

bsearch78.0ms

Steps
ItersRangePoint
10
7.521372480586488e-07
1194293.182570832
0.1043421466275564
8
-4.972566247523887e+110
-3.3703299019930205e+106
-8.507940501724928e+106

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03616
13616

end0.0ms

sample441.0ms

Algorithm
intervals
Results
240.0ms10124×body80valid