Details

Time bar (total: 4.2s)

sample49.0ms

Algorithm
intervals
Results
9.0ms181×body80valid
6.0ms24×body1280valid
5.0ms29×body1280nan
4.0ms21×body640valid
4.0ms14×body160valid
3.0ms22×body640nan
3.0ms83×body80nan
2.0ms16×body320valid
1.0msbody320nan
0.0msbody160nan

simplify19.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

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

Counts
2 → 1

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
0.0b
(/ (- x y) (- 1.0 y))
3.2b
(log (- 1.0 (/ (- x y) (- 1.0 y))))
3.2b
(- 1.0 (/ (- x y) (- 1.0 y)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
51×*-un-lft-identity
28×times-frac
19×difference-of-squares
18×add-cube-cbrt
17×distribute-lft-out--
12×log-prod
add-exp-log add-log-exp
pow1 flip3-- add-cbrt-cube flip-- associate--r+
associate-/r* associate-/l*
log-div
associate--r-
sub-neg diff-log div-sub associate-/r/ log-pow associate-/l/
cbrt-undiv frac-2neg div-exp rem-log-exp clear-num div-inv
Counts
4 → 108
Calls
4 calls:
16.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
8.0ms
(/ (- x y) (- 1.0 y))
13.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))
13.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

series261.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
40.0ms
(/ (- x y) (- 1.0 y))
82.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))
50.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

simplify45.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0488942
11388894
25001876

prune280.0ms

Filtered
120 candidates to 88 candidates (73.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1164120
Fresh000
Picked101
Done000
Total1174121

Merged error: 0.0b

Counts
121 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- 1.0 y))
0.1b
(* (- x y) (/ 1 (- 1.0 y)))
3.2b
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
6.1b
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
42×*-un-lft-identity
32×times-frac
25×add-cube-cbrt
21×associate-*r*
18×add-exp-log
11×add-cbrt-cube
pow1 distribute-lft-out-- difference-of-squares
flip3-- flip-- add-log-exp
associate-*l* associate-/r*
div-exp prod-exp associate-/r/
log-prod associate-/l* unswap-sqr
cbrt-undiv frac-times log-div rec-exp 1-exp associate-*l/ cbrt-unprod div-inv
sub-neg pow-flip frac-2neg diff-log associate-*r/ rem-log-exp pow-prod-down clear-num log-pow un-div-inv *-commutative inv-pow
Counts
4 → 117
Calls
4 calls:
5.0ms
(/ 1 (- 1.0 y))
13.0ms
(* (- x y) (/ 1 (- 1.0 y)))
2.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
3.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

series244.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(/ 1 (- 1.0 y))
60.0ms
(* (- x y) (/ 1 (- 1.0 y)))
93.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
52.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

simplify65.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0480836
12036736
25001688

prune212.0ms

Filtered
129 candidates to 83 candidates (64.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1290129
Fresh033
Picked011
Done000
Total1294133

Merged error: 0.0b

Counts
133 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
0.0b
(/ (- x y) (- 1.0 y))
0.2b
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
3.2b
(- 1.0 (/ (- x y) (- 1.0 y)))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
101×add-sqr-sqrt
77×*-un-lft-identity
69×times-frac
37×add-cube-cbrt
28×difference-of-squares
24×log-prod
20×distribute-lft-out--
11×associate-/r*
add-exp-log
add-cbrt-cube associate-/l*
associate-/r/ add-log-exp
pow1 flip3-- flip--
div-exp div-inv
cbrt-undiv frac-2neg div-sub rem-log-exp clear-num associate-/l/
sub-neg log-div diff-log log-pow associate--r-
Counts
4 → 144
Calls
4 calls:
18.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
8.0ms
(/ (- x y) (- 1.0 y))
16.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
13.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

series396.0ms

Counts
4 → 12
Calls
4 calls:
160.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
36.0ms
(/ (- x y) (- 1.0 y))
145.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
55.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

simplify57.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
06211546
119741467
250011448

prune332.0ms

Filtered
156 candidates to 118 candidates (75.6%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1542156
Fresh112
Picked011
Done011
Total1555160

Merged error: 0b

Counts
160 → 5

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(log (+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0))))
0.0b
(+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0)))
0.3b
(* (* 1.0 (exp 1.0)) (- x y))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
pow1
add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
add-cube-cbrt associate-*r* add-log-exp
distribute-rgt-in sub-neg associate-+l+ distribute-lft-in
log-prod pow-prod-down prod-exp cbrt-unprod
log-div flip3-+ associate-*r/ flip-+
+-commutative flip3-- rem-log-exp associate-*l* sum-log log-pow *-commutative flip-- distribute-lft-out-- difference-of-squares
Counts
3 → 55
Calls
3 calls:
9.0ms
(log (+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0))))
9.0ms
(+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0)))
11.0ms
(* (* 1.0 (exp 1.0)) (- x y))

series368.0ms

Counts
3 → 9
Calls
3 calls:
174.0ms
(log (+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0))))
105.0ms
(+ (* (* 1.0 (exp 1.0)) (- x y)) (* 1.0 (exp 1.0)))
89.0ms
(* (* 1.0 (exp 1.0)) (- x y))

simplify48.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0326591
11456505
25001464

prune109.0ms

Filtered
64 candidates to 43 candidates (67.2%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New64064
Fresh022
Picked011
Done022
Total64569

Merged error: 0b

Counts
69 → 5

regimes144.0ms

Accuracy

98.9% (0.2b remaining)

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

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03120
13120

end0.0ms

sample1.3s

Algorithm
intervals
Results
278.0ms5686×body80valid
204.0ms819×body1280valid
134.0ms738×body640valid
123.0ms682×body1280nan
107.0ms768×body640nan
97.0ms2665×body80nan
65.0ms480×body320valid
48.0ms461×body320nan
24.0ms277×body160valid
16.0ms232×body160nan

Profiling

Loading profile data...