Details

Time bar (total: 1.8s)

sample31.0ms

Algorithm
intervals
Results
15.0ms318×body80valid

simplify83.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0224
1444
21144
32204
43544
55504
616694
750014

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 8.9b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite19.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)

series70.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0254285
11225238
25001238

prune81.0ms

Filtered
53 candidates to 35 candidates (66.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New47653
Fresh000
Picked101
Done000
Total48654

Merged error: 0.0b

Counts
54 → 6

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series85.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04551177
121101129
250021126

prune202.0ms

Filtered
145 candidates to 93 candidates (64.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1432145
Fresh325
Picked011
Done000
Total1465151

Merged error: 0b

Counts
151 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series64.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0267479
11167438
25001432

prune96.0ms

Filtered
82 candidates to 49 candidates (59.8%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New82082
Fresh033
Picked011
Done011
Total82587

Merged error: 0b

Counts
87 → 5

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
26×add-exp-log
18×associate-*r*
16×*-un-lft-identity add-cbrt-cube
13×add-sqr-sqrt prod-exp
11×add-cube-cbrt
pow1 times-frac
associate-*r/ cbrt-unprod
div-exp associate-*l* pow-prod-down
flip3-+ flip-+
cbrt-undiv frac-times rec-exp 1-exp associate-*l/ *-commutative distribute-lft-out add-log-exp
distribute-rgt-in distribute-lft-in un-div-inv div-inv distribute-lft-out-- unswap-sqr
Counts
2 → 66
Calls
2 calls:
9.0ms
(* x (+ (- y z) 1.0))
13.0ms
(* (* x (+ (- y z) 1.0)) (/ 1 z))

series70.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0397447
12128364
25001351

prune81.0ms

Filtered
72 candidates to 41 candidates (56.9%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New72072
Fresh022
Picked011
Done022
Total72577

Merged error: 0b

Counts
77 → 5

regimes85.0ms

Accuracy

95.5% (0.1b remaining)

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

bsearch58.0ms

Steps
ItersRangePoint
5
58799743.69495726
148917107.89659858
77529046.77443498
9
-3.3083011695310274e+34
-4.866441541213765e+29
-1.4853295995609971e+32

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02112
12112

end0.0ms

sample501.0ms

Algorithm
intervals
Results
293.0ms10107×body80valid