Details

Time bar (total: 3.6s)

analyze517.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
6.2%93.7%0.1%5
6.2%90.5%3.2%6
21.9%67.1%11%7
23.4%64.8%11.8%8
32%52.7%15.3%9
33.2%51.3%15.5%10
37.7%45.2%17.2%11
38.3%44.4%17.2%12
40.6%41.3%18%13
41%41%18%14

sample40.0ms

Algorithm
intervals
Results
9.0ms180×body80valid
6.0ms36×body640valid
5.0ms29×body1280nan
3.0ms13×body1280valid
3.0ms23×body640nan
3.0ms22×body320valid
1.0ms13×body320nan
0.0msbody160valid
0.0msbody160nan
0.0msbody80nan

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02312
12312

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 18.8b

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))
1.5b
(- 1.0 (/ (- x y) (- 1.0 y)))
3.5b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite57.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 → 106
Calls
4 calls:
16.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
8.0ms
(/ (- x y) (- 1.0 y))
16.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
14.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series44.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
6.0ms
(/ (- x y) (- 1.0 y))
10.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
13.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify66.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
051021663

prune202.0ms

Filtered
90 candidates to 118 candidates (-31.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1135118
Fresh000
Picked101
Done000
Total1145119

Merged error: 0.2b

Counts
119 → 5

localize12.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.1b
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
1.5b
(- 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 → 143
Calls
4 calls:
15.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
8.0ms
(/ (- x y) (- 1.0 y))
17.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
13.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

series56.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
6.0ms
(/ (- x y) (- 1.0 y))
20.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
10.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

simplify70.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
050542574

prune266.0ms

Filtered
118 candidates to 155 candidates (-31.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1541155
Fresh224
Picked011
Done000
Total1564160

Merged error: 0b

Counts
160 → 4

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

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

series19.0ms

Counts
2 → 6
Calls
2 calls:
13.0ms
(log (* 1.0 (* (exp 1.0) (- (+ x 1) y))))
6.0ms
(* (exp 1.0) (- (+ x 1) y))

simplify59.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
04955499
14955499

prune72.0ms

Filtered
36 candidates to 49 candidates (-36.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New48149
Fresh112
Picked011
Done011
Total49453

Merged error: 0b

Counts
53 → 4

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ 1.0 (log (+ x (- 1 y))))
3.5b
(log (+ x (- 1 y)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
10×log-prod
distribute-lft-out
associate-+r+
pow1 add-sqr-sqrt add-cube-cbrt log-div
add-exp-log flip3-+ flip-+ add-log-exp
associate-+r- log-pow add-cbrt-cube distribute-lft-out--
+-commutative rem-log-exp sum-log
Counts
2 → 36
Calls
2 calls:
8.0ms
(+ 1.0 (log (+ x (- 1 y))))
6.0ms
(log (+ x (- 1 y)))

series15.0ms

Counts
2 → 6
Calls
2 calls:
8.0ms
(+ 1.0 (log (+ x (- 1 y))))
7.0ms
(log (+ x (- 1 y)))

simplify31.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
04885435
14885435

prune60.0ms

Filtered
30 candidates to 42 candidates (-40.0%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New42042
Fresh011
Picked011
Done022
Total42446

Merged error: 0b

Counts
46 → 4

regimes173.0ms

Accuracy

99.1% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02439
12439

end0.0ms

analyze585.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
6.2%93.7%0.1%5
6.2%90.5%3.2%6
21.9%67.1%11%7
23.4%64.8%11.8%8
32%52.7%15.3%9
33.2%51.3%15.5%10
37.7%45.2%17.2%11
38.3%44.4%17.2%12
40.6%41.3%18%13
41%41%18%14

sample1.2s

Algorithm
intervals
Results
265.0ms5735×body80valid
185.0ms779×body1280valid
139.0ms821×body640valid
135.0ms757×body1280nan
110.0ms800×body640nan
57.0ms437×body320valid
44.0ms434×body320nan
18.0ms228×body160valid
17.0ms254×body160nan
13.0ms334×body80nan

Profiling

Loading profile data...