Details

Time bar (total: 1.9s)

sample19.0ms

Algorithm
intervals
Results
10.0ms326×body80valid

simplify66.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0224
1444
21144
32204
43544
55504
616694
750024

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

Counts
2 → 1

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)

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

series68.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0254285
11225238
25001238

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

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

series86.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04551177
121101129
250031126

prune253.0ms

Filtered
145 candidates to 93 candidates (64.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1423145
Fresh325
Picked011
Done000
Total1456151

Merged error: 0b

Counts
151 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
61×*-un-lft-identity
35×times-frac
32×add-sqr-sqrt
31×add-exp-log
25×add-cube-cbrt
21×associate-*r*
19×add-cbrt-cube
14×distribute-lft-out
11×div-exp
prod-exp
distribute-lft-out--
pow1 cbrt-undiv associate-/r* associate-/r/ associate-/l*
cbrt-unprod
rec-exp 1-exp associate-*l* div-inv add-log-exp unswap-sqr
frac-2neg flip3-+ associate-*r/ clear-num un-div-inv flip-+
pow-flip pow-prod-down *-commutative inv-pow
Counts
3 → 112
Calls
3 calls:
10.0ms
(/ 1 (+ (- y z) 1.0))
13.0ms
(* z (/ 1 (+ (- y z) 1.0)))
12.0ms
(/ x (* z (/ 1 (+ (- y z) 1.0))))

series124.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0377683
11729567
25002515

prune123.0ms

Filtered
121 candidates to 62 candidates (51.2%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1210121
Fresh044
Picked011
Done011
Total1216127

Merged error: 0b

Counts
127 → 6

localize6.0ms

Local error

Found 1 expressions with local error:

9.9b
(* (/ x z) (+ (- y z) 1.0))

rewrite15.0ms

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

series40.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0334267
11328239
25001233

prune60.0ms

Filtered
43 candidates to 31 candidates (72.1%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New43043
Fresh033
Picked011
Done022
Total43649

Merged error: 0b

Counts
49 → 6

regimes88.0ms

Accuracy

97.1% (0.1b remaining)

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

bsearch49.0ms

Steps
ItersRangePoint
6
1578.8049968426037
7137.79058365099
3468.892141930514
5
-463066.66411116364
-197837.45300720973
-303447.7812830532

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0218
1218

end0.0ms

sample522.0ms

Algorithm
intervals
Results
318.0ms10167×body80valid

Profiling

Loading profile data...