Details

Time bar (total: 3.4s)

sample58.0ms

Algorithm
intervals
Results
9.0ms176×body80valid
7.0ms30×body1280valid
6.0ms31×body1280nan
4.0ms23×body640valid
4.0ms101×body80nan
4.0ms24×body640nan
3.0ms23×body320valid
1.0ms15×body160nan
1.0ms10×body320nan
0.0msbody160valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0196
1296
2416
3606
4786
5946
61096
71396
82146
92796
102796

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 20.2b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x y) (- 1.0 y))
1.6b
(- 1.0 (/ (- x y) (- 1.0 y)))
3.6b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt
44×*-un-lft-identity
27×times-frac
16×add-cube-cbrt difference-of-squares
14×distribute-lft-out--
add-exp-log log-prod
associate-/r* add-cbrt-cube associate-/l* add-log-exp
pow1 flip3-- flip--
log-div div-sub associate-/r/ associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-exp rem-log-exp clear-num log-pow div-inv associate--r-
Counts
3 → 85
Calls
3 calls:
7.0ms
(/ (- x y) (- 1.0 y))
13.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
13.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series29.0ms

Counts
3 → 9
Calls
3 calls:
8.0ms
(/ (- x y) (- 1.0 y))
9.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
12.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify37.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0404711
11152666
25001659

prune169.0ms

Filtered
69 candidates to 94 candidates (-36.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New90494
Fresh000
Picked101
Done000
Total91495

Merged error: 0.0b

Counts
95 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(cbrt (- 1.0 y))
0.2b
(* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))
3.6b
(log (- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y)))))
14.2b
(- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))

rewrite97.0ms

Algorithm
rewrite-expression-head
Rules
60×add-sqr-sqrt
37×cbrt-prod
34×*-un-lft-identity
15×difference-of-squares
14×add-cube-cbrt cbrt-div
12×pow1 times-frac
10×swap-sqr
log-prod flip3-- flip-- distribute-lft-out--
associate-*r* associate-*l*
add-exp-log pow1/3
add-log-exp
frac-times add-cbrt-cube unswap-sqr
log-div div-sub associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 sub-neg pow-plus diff-log rem-log-exp prod-exp log-pow *-commutative cbrt-unprod associate--r-
Counts
4 → 110
Calls
4 calls:
3.0ms
(cbrt (- 1.0 y))
10.0ms
(* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))
39.0ms
(log (- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y)))))
41.0ms
(- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))

series37.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(cbrt (- 1.0 y))
7.0ms
(* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))
13.0ms
(log (- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y)))))
12.0ms
(- 1.0 (/ (/ (- x y) (* (cbrt (- 1.0 y)) (cbrt (- 1.0 y)))) (cbrt (- 1.0 y))))

simplify54.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
05301512
116851383
250011280

prune323.0ms

Filtered
89 candidates to 122 candidates (-37.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1220122
Fresh033
Picked011
Done000
Total1224126

Merged error: 0.0b

Counts
126 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

1.6b
(- 1.0 (/ (- x y) (- 1.0 y)))
1.6b
(- 1.0 (/ (- x y) (- 1.0 y)))
3.4b
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
3.4b
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
18×log-prod
16×*-un-lft-identity
12×sqrt-prod
pow1 add-cube-cbrt add-log-exp difference-of-squares
add-exp-log log-pow
log-div flip3-- times-frac sqrt-div add-cbrt-cube flip-- distribute-lft-out--
sub-neg sqrt-pow1 pow1/2 diff-log div-sub rem-log-exp associate--r-
Counts
4 → 76
Calls
4 calls:
14.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
15.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
14.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
14.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

series49.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
9.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
15.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
16.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))

simplify63.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 3 (51.0ms)

IterNodesCost
0225852
1527780
22093774
35001766

prune210.0ms

Filtered
68 candidates to 88 candidates (-29.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New87188
Fresh022
Picked011
Done011
Total87592

Merged error: 0.0b

Counts
92 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

1.6b
(- 1.0 (/ (- x y) (- 1.0 y)))
2.3b
(log (exp (- 1.0 (/ (- x y) (- 1.0 y)))))
3.4b
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
3.4b
(log (sqrt (log (exp (- 1.0 (/ (- x y) (- 1.0 y)))))))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
28×log-prod
20×log-pow
19×*-un-lft-identity
16×sqrt-prod
12×exp-prod
11×add-cube-cbrt
10×pow1
difference-of-squares
add-exp-log add-log-exp
times-frac add-cbrt-cube distribute-lft-out--
log-div rem-log-exp exp-sum
sub-neg flip3-- sqrt-pow1 pow1/2 sqrt-div div-sub flip-- associate--r-
exp-diff diff-log
Counts
4 → 84
Calls
4 calls:
13.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
14.0ms
(log (exp (- 1.0 (/ (- x y) (- 1.0 y)))))
15.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
15.0ms
(log (sqrt (log (exp (- 1.0 (/ (- x y) (- 1.0 y)))))))

series51.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
11.0ms
(log (exp (- 1.0 (/ (- x y) (- 1.0 y)))))
15.0ms
(log (sqrt (- 1.0 (/ (- x y) (- 1.0 y)))))
15.0ms
(log (sqrt (log (exp (- 1.0 (/ (- x y) (- 1.0 y)))))))

simplify63.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0301875
1696800
22353792
35003780

prune221.0ms

Filtered
72 candidates to 96 candidates (-33.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New95196
Fresh022
Picked101
Done022
Total965101

Merged error: 0b

Counts
101 → 5

regimes279.0ms

Accuracy

99.4% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 17.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02926
12926

end0.0ms

sample1.4s

Algorithm
intervals
Results
274.0ms5665×body80valid
191.0ms783×body1280valid
144.0ms797×body640valid
135.0ms734×body1280nan
103.0ms715×body640nan
96.0ms2755×body80nan
64.0ms496×body320valid
51.0ms457×body320nan
22.0ms259×body160valid
17.0ms248×body160nan

Profiling

Loading profile data...