Details

Time bar (total: 3.3s)

sample31.0ms

Algorithm
intervals
Results
20.0ms315×body80valid

simplify65.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: 12.2b

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series67.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0254285
11225238
25001238

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

rewrite49.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:
17.0ms
(/ z (+ (- y z) 1.0))
24.0ms
(/ x (/ z (+ (- y z) 1.0)))

series87.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04551177
121101129
250021126

prune235.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series65.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0267479
11167438
25001432

prune131.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(* x (* (cbrt (/ (+ (- y z) 1.0) z)) (cbrt (/ (+ (- y z) 1.0) z))))
2.7b
(cbrt (/ (+ (- y z) 1.0) z))
2.7b
(cbrt (/ (+ (- y z) 1.0) z))
2.7b
(cbrt (/ (+ (- y z) 1.0) z))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
77×*-un-lft-identity
57×cbrt-prod
45×times-frac
33×add-sqr-sqrt
32×add-cube-cbrt
18×distribute-lft-out
pow1 add-exp-log distribute-lft-out--
cbrt-div add-cbrt-cube
associate-*r/ add-log-exp
pow1/3 associate-*l* pow-prod-down prod-exp cbrt-unprod div-inv
frac-times associate-*r* associate-*l/ *-commutative unswap-sqr
Counts
4 → 106
Calls
4 calls:
68.0ms
(* x (* (cbrt (/ (+ (- y z) 1.0) z)) (cbrt (/ (+ (- y z) 1.0) z))))
10.0ms
(cbrt (/ (+ (- y z) 1.0) z))
9.0ms
(cbrt (/ (+ (- y z) 1.0) z))
9.0ms
(cbrt (/ (+ (- y z) 1.0) z))

series730.0ms

Counts
4 → 12
Calls
4 calls:
275.0ms
(* x (* (cbrt (/ (+ (- y z) 1.0) z)) (cbrt (/ (+ (- y z) 1.0) z))))
150.0ms
(cbrt (/ (+ (- y z) 1.0) z))
149.0ms
(cbrt (/ (+ (- y z) 1.0) z))
155.0ms
(cbrt (/ (+ (- y z) 1.0) z))

simplify130.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
03921363
111631284
245831189
350011189

prune302.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes70.0ms

Accuracy

39.2% (1.9b remaining)

Error of 1.9b against oracle of 0.0b and baseline of 3.1b

bsearch38.0ms

Steps
ItersRangePoint
7
-1.7977825652338532e-10
-2.8131654335161193e-12
-1.030938384106703e-10

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12110

end0.0ms

sample810.0ms

Algorithm
intervals
Results
590.0ms10106×body80valid