Details

Time bar (total: 2.6s)

sample23.0ms

Algorithm
intervals
Results
10.0ms332×body80valid

simplify77.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: 9.9b

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series72.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0254285
11225238
25001238

prune100.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
pow1 times-frac associate-/r*
cbrt-undiv diff-log div-exp sum-log
+-commutative sub-neg flip3-- frac-2neg flip3-+ associate-*r/ frac-add prod-exp associate--l+ clear-num flip-- cbrt-unprod flip-+ div-inv associate-/l* distribute-lft-out-- difference-of-squares
Counts
3 → 49
Calls
3 calls:
6.0ms
(+ (/ (* x y) z) (* 1.0 (/ x z)))
11.0ms
(- (+ (/ (* x y) z) (* 1.0 (/ x z))) x)
5.0ms
(/ (* x y) z)

series102.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(+ (/ (* x y) z) (* 1.0 (/ x z)))
38.0ms
(- (+ (/ (* x y) z) (* 1.0 (/ x z))) x)
20.0ms
(/ (* x y) z)

simplify36.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0254367
11124344
25002325

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×associate-*l*
12×*-un-lft-identity
10×add-cube-cbrt times-frac
add-exp-log add-cbrt-cube
pow1 associate-*r* add-log-exp
distribute-rgt-in frac-times distribute-lft-in flip3-+ associate-*r/ prod-exp associate--l+ cbrt-unprod flip-+ unswap-sqr
cbrt-undiv sub-neg flip3-- diff-log div-exp pow-prod-down associate-*l/ *-commutative flip-- div-inv distribute-lft-out
Counts
2 → 53
Calls
2 calls:
7.0ms
(- (* (/ x z) (+ 1.0 y)) x)
9.0ms
(* (/ x z) (+ 1.0 y))

series80.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0368304
11376281
25001278

prune118.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt z)
0.5b
(cbrt z)
0.5b
(* (cbrt z) (cbrt z))
3.5b
(* (/ x (* (cbrt z) (cbrt z))) (/ y (cbrt z)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
53×add-sqr-sqrt
33×cbrt-prod
29×add-cube-cbrt *-un-lft-identity
28×times-frac associate-*r*
27×add-exp-log
18×add-cbrt-cube
13×pow1 associate-*l*
10×unswap-sqr
prod-exp cbrt-unprod
pow1/3
cbrt-undiv div-exp
swap-sqr
add-log-exp
pow-prod-down
pow-sqr *-commutative pow-prod-up div-inv
pow2 frac-times pow-plus associate-*r/ associate-*l/
Counts
4 → 121
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
6.0ms
(* (cbrt z) (cbrt z))
14.0ms
(* (/ x (* (cbrt z) (cbrt z))) (/ y (cbrt z)))

series611.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(cbrt z)
181.0ms
(cbrt z)
197.0ms
(* (cbrt z) (cbrt z))
52.0ms
(* (/ x (* (cbrt z) (cbrt z))) (/ y (cbrt z)))

simplify79.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
0483852
12842688
25001637

prune346.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

regimes101.0ms

Accuracy

88.8% (0.2b remaining)

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

bsearch75.0ms

Steps
ItersRangePoint
9
3.6436075184653607e+37
1.194598219605188e+47
1.0421712403149794e+38
8
-2.1794466583806566e+73
-9.064317627469927e+68
-3.2617255565119487e+69

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02712
12712

end0.0ms

sample487.0ms

Algorithm
intervals
Results
263.0ms10110×body80valid