Details

Time bar (total: 1.3m)

sample28.0ms

Algorithm
intervals
Results
12.0ms357×body80valid

simplify89.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0276
1916
22896
37706
415146
518606
618856
718856

prune3.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: 6.8b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.3b
(* (* z 9.0) t)
0.3b
(- (* x y) (* (* z 9.0) t))
6.4b
(/ (- (* x y) (* (* z 9.0) t)) (* a 2.0))

rewrite128.0ms

Algorithm
rewrite-expression-head
Rules
660×add-sqr-sqrt
438×associate-*l*
365×*-un-lft-identity
264×prod-diff
217×unswap-sqr
197×add-cube-cbrt
195×associate-*r*
180×times-frac
84×distribute-lft-out-- difference-of-squares
65×*-commutative
15×associate-/l*
13×add-exp-log add-cbrt-cube
12×fma-neg associate-/r*
pow1
add-log-exp
prod-exp cbrt-unprod
expm1-log1p-u pow-prod-down log1p-expm1-u
cbrt-undiv flip3-- div-exp flip-- associate-/l/
sub-neg frac-2neg diff-log div-sub clear-num div-inv
Counts
3 → 561
Calls
3 calls:
8.0ms
(* (* z 9.0) t)
26.0ms
(- (* x y) (* (* z 9.0) t))
50.0ms
(/ (- (* x y) (* (* z 9.0) t)) (* a 2.0))

series146.0ms

Counts
3 → 9
Calls
3 calls:
18.0ms
(* (* z 9.0) t)
54.0ms
(- (* x y) (* (* z 9.0) t))
73.0ms
(/ (- (* x y) (* (* z 9.0) t)) (* a 2.0))

simplify119.0ms

Algorithm
egg-herbie
Counts
570 → 570
Iterations

Useful iterations: 1 (42.0ms)

IterNodesCost
016428840
150027151

prune1.0s

Filtered
570 candidates to 233 candidates (40.9%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New55812570
Fresh000
Picked101
Done000
Total55912571

Merged error: 5.6b

Counts
571 → 12

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 0.5 (/ (* x y) a)) (* 4.5 (/ (* t z) a)))
0.2b
(* 4.5 (/ (* t z) a))
3.6b
(/ (* t z) a)
6.4b
(/ (* x y) a)

rewrite676.0ms

Algorithm
rewrite-expression-head
Rules
5251×associate-*r*
4465×add-sqr-sqrt
4040×times-frac
2819×*-un-lft-identity
2723×add-cube-cbrt
2601×prod-diff
1448×associate-*l*
811×unswap-sqr
788×associate-*r/
626×associate-/l*
467×*-commutative
441×frac-sub
143×associate-/r*
129×un-div-inv
108×div-inv
88×clear-num
51×fma-neg
47×frac-2neg
23×add-exp-log add-cbrt-cube
16×difference-of-squares
sub-div
pow1 cbrt-undiv div-exp prod-exp cbrt-unprod add-log-exp
expm1-log1p-u log1p-expm1-u distribute-lft-out--
sub-neg flip3-- distribute-rgt-out-- diff-log pow-prod-down flip--
Counts
4 → 3353
Calls
4 calls:
199.0ms
(- (* 0.5 (/ (* x y) a)) (* 4.5 (/ (* t z) a)))
22.0ms
(* 4.5 (/ (* t z) a))
8.0ms
(/ (* t z) a)
8.0ms
(/ (* x y) a)

series194.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(- (* 0.5 (/ (* x y) a)) (* 4.5 (/ (* t z) a)))
36.0ms
(* 4.5 (/ (* t z) a))
20.0ms
(/ (* t z) a)
21.0ms
(/ (* x y) a)

simplify957.0ms

Algorithm
egg-herbie
Counts
3365 → 3365
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
05001104075

prune13.4s

Filtered
3365 candidates to 2685 candidates (79.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New335963365
Fresh11011
Picked101
Done000
Total337163377

Merged error: 0b

Counts
3377 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 0.5 (/ (* x 1) (/ a y))) (* 4.5 (/ (* t z) a)))
0.2b
(* 4.5 (/ (* t z) a))
3.6b
(/ (* t z) a)
6.0b
(/ (* x 1) (/ a y))

rewrite2.9s

Algorithm
rewrite-expression-head
Rules
23436×times-frac
21413×associate-*r*
18951×add-sqr-sqrt
13229×*-un-lft-identity
12288×add-cube-cbrt
10047×prod-diff
4838×associate-*l*
3494×unswap-sqr
1614×*-commutative
1221×associate-*r/
996×associate-/l*
963×div-inv
693×frac-sub
550×associate-/r*
477×associate-/r/
197×fma-neg
186×un-div-inv
165×clear-num
110×frac-2neg
35×add-exp-log
32×difference-of-squares
30×add-cbrt-cube
13×div-exp
10×cbrt-undiv
prod-exp
cbrt-unprod
pow1 add-log-exp
expm1-log1p-u log1p-expm1-u distribute-lft-out--
1-exp
sub-neg flip3-- diff-log pow-prod-down flip--
Counts
4 → 11364
Calls
4 calls:
649.0ms
(- (* 0.5 (/ (* x 1) (/ a y))) (* 4.5 (/ (* t z) a)))
22.0ms
(* 4.5 (/ (* t z) a))
7.0ms
(/ (* t z) a)
14.0ms
(/ (* x 1) (/ a y))

series169.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(- (* 0.5 (/ (* x 1) (/ a y))) (* 4.5 (/ (* t z) a)))
29.0ms
(* 4.5 (/ (* t z) a))
27.0ms
(/ (* t z) a)
23.0ms
(/ (* x 1) (/ a y))

simplify3.8s

Algorithm
egg-herbie
Counts
11376 → 11376
Iterations

Useful iterations: 0 (80.0ms)

IterNodesCost
011130416022

prune50.2s

Filtered
11376 candidates to 8810 candidates (77.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New11372411376
Fresh415
Picked011
Done000
Total11376611382

Merged error: 0b

Counts
11382 → 6

localize19.0ms

Local error

Found 4 expressions with local error:

3.6b
(/ (* t z) a)
3.6b
(/ (* t z) a)
6.0b
(/ (* x 1) (/ a y))
46.6b
(fma (- (* (sqrt 4.5) (/ (* t z) a))) (sqrt 4.5) (* (* (sqrt 4.5) (/ (* t z) a)) (sqrt 4.5)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
367×times-frac
254×add-sqr-sqrt
210×*-un-lft-identity
196×add-cube-cbrt
66×associate-*r* associate-*l*
40×associate-/l*
36×unswap-sqr
31×add-exp-log
26×add-cbrt-cube
22×associate-/r* *-commutative
17×div-inv
13×div-exp
10×cbrt-undiv
associate-/r/
prod-exp
pow1 expm1-log1p-u frac-2neg clear-num cbrt-unprod log1p-expm1-u add-log-exp
1-exp
fma-udef
Counts
4 → 370
Calls
4 calls:
10.0ms
(/ (* t z) a)
8.0ms
(/ (* t z) a)
13.0ms
(/ (* x 1) (/ a y))
1.0ms
(fma (- (* (sqrt 4.5) (/ (* t z) a))) (sqrt 4.5) (* (* (sqrt 4.5) (/ (* t z) a)) (sqrt 4.5)))

series263.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(/ (* t z) a)
21.0ms
(/ (* t z) a)
23.0ms
(/ (* x 1) (/ a y))
198.0ms
(fma (- (* (sqrt 4.5) (/ (* t z) a))) (sqrt 4.5) (* (* (sqrt 4.5) (/ (* t z) a)) (sqrt 4.5)))

simplify71.0ms

Algorithm
egg-herbie
Counts
382 → 382
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
012422542
150012321

prune1.2s

Filtered
382 candidates to 212 candidates (55.5%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New3820382
Fresh044
Picked011
Done011
Total3826388

Merged error: 0b

Counts
388 → 6

regimes316.0ms

Accuracy

50.3% (3.9b remaining)

Error of 3.9b against oracle of 0.0b and baseline of 7.9b

bsearch1.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06644
19144
210044
310244
410244

end0.0ms

sample714.0ms

Algorithm
intervals
Results
384.0ms11103×body80valid