Details

Time bar (total: 3.5s)

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

sample47.0ms

Algorithm
intervals
Results
8.0ms170×body80valid
7.0ms29×body1280valid
6.0ms26×body640nan
6.0ms33×body640valid
4.0ms24×body1280nan
2.0ms20×body320nan
2.0ms14×body320valid
1.0ms10×body160valid
1.0ms10×body160nan
1.0ms17×body80nan

simplify114.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (112.0ms)

IterNodesCost
0503912

prune6.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 21.1b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x y) (- 1.0 y))
2.3b
(- 1.0 (/ (- x y) (- 1.0 y)))
4.6b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite37.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 → 84
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:
6.0ms
(/ (- x y) (- 1.0 y))
11.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
12.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify51.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
058171253

prune172.0ms

Filtered
71 candidates to 93 candidates (-31.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New90393
Fresh000
Picked101
Done000
Total91394

Merged error: 0.1b

Counts
94 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ (- x y) (- (* 1.0 1.0) (* y y))) (+ 1.0 y))
4.2b
(- 1.0 (* (/ (- x y) (- (* 1.0 1.0) (* y y))) (+ 1.0 y)))
4.6b
(log (- 1.0 (* (/ (- x y) (- (* 1.0 1.0) (* y y))) (+ 1.0 y))))
13.0b
(/ (- x y) (- (* 1.0 1.0) (* y y)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt
47×*-un-lft-identity
41×times-frac
27×add-cube-cbrt
26×associate-*l*
20×difference-of-squares
12×add-exp-log
11×add-cbrt-cube
distribute-lft-out--
pow1
add-log-exp
flip3-- flip-- associate-/l*
associate-*r* associate-/r* associate-/r/
log-prod
cbrt-undiv distribute-rgt-in frac-times log-div distribute-lft-in flip3-+ associate-*r/ div-exp prod-exp cbrt-unprod flip-+ div-inv associate-/l/ associate--r+ unswap-sqr
sub-neg frac-2neg diff-log div-sub rem-log-exp pow-prod-down associate-*l/ clear-num log-pow *-commutative distribute-lft-out
Counts
4 → 125
Calls
4 calls:
17.0ms
(* (/ (- x y) (- (* 1.0 1.0) (* y y))) (+ 1.0 y))
3.0ms
(- 1.0 (* (/ (- x y) (- (* 1.0 1.0) (* y y))) (+ 1.0 y)))
3.0ms
(log (- 1.0 (* (/ (- x y) (- (* 1.0 1.0) (* y y))) (+ 1.0 y))))
8.0ms
(/ (- x y) (- (* 1.0 1.0) (* y y)))

series99.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(* (/ (- x y) (- (* 1.0 1.0) (* y y))) (+ 1.0 y))
36.0ms
(- 1.0 (* (/ (- x y) (- (* 1.0 1.0) (* y y))) (+ 1.0 y)))
39.0ms
(log (- 1.0 (* (/ (- x y) (- (* 1.0 1.0) (* y y))) (+ 1.0 y))))
12.0ms
(/ (- x y) (- (* 1.0 1.0) (* y y)))

simplify54.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
050212049

prune205.0ms

Filtered
109 candidates to 137 candidates (-25.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1370137
Fresh022
Picked011
Done000
Total1373140

Merged error: 0.1b

Counts
140 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 1.0 (log (+ (/ x y) (* (/ 1.0 y) (+ (/ x y) -1)))))
0.1b
(* (/ 1.0 y) (+ (/ x y) -1))
2.9b
(log (+ (/ x y) (* (/ 1.0 y) (+ (/ x y) -1))))
3.0b
(+ (/ x y) (* (/ 1.0 y) (+ (/ x y) -1)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
19×*-un-lft-identity
15×frac-add
14×add-cube-cbrt log-div
13×associate-*l*
11×flip3-+ times-frac flip-+
10×add-exp-log
add-cbrt-cube
pow1 frac-times associate-*r/
associate--r- add-log-exp
log-prod associate-*r*
associate-*l/
associate--r+
difference-of-sqr--1 distribute-rgt-in associate-+r+ distribute-lft-in prod-exp log-pow cbrt-unprod distribute-lft-out-- unswap-sqr
cbrt-undiv +-commutative sub-neg flip3-- diff-log div-exp rem-log-exp pow-prod-down sum-log *-commutative flip-- div-inv distribute-lft-out difference-of-squares
Counts
4 → 102
Calls
4 calls:
9.0ms
(- 1.0 (log (+ (/ x y) (* (/ 1.0 y) (+ (/ x y) -1)))))
12.0ms
(* (/ 1.0 y) (+ (/ x y) -1))
6.0ms
(log (+ (/ x y) (* (/ 1.0 y) (+ (/ x y) -1))))
8.0ms
(+ (/ x y) (* (/ 1.0 y) (+ (/ x y) -1)))

series41.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(- 1.0 (log (+ (/ x y) (* (/ 1.0 y) (+ (/ x y) -1)))))
5.0ms
(* (/ 1.0 y) (+ (/ x y) -1))
12.0ms
(log (+ (/ x y) (* (/ 1.0 y) (+ (/ x y) -1))))
8.0ms
(+ (/ x y) (* (/ 1.0 y) (+ (/ x y) -1)))

simplify51.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
050062043

prune183.0ms

Filtered
96 candidates to 114 candidates (-18.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1122114
Fresh011
Picked101
Done011
Total1134117

Merged error: 0.1b

Counts
117 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (/ x y) -1) y)
0.8b
(/ (exp 1.0) (+ (/ x y) (* 1.0 (/ (+ (/ x y) -1) y))))
3.0b
(+ (/ x y) (* 1.0 (/ (+ (/ x y) -1) y)))
14.8b
(log (/ (exp 1.0) (+ (/ x y) (* 1.0 (/ (+ (/ x y) -1) y)))))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt
40×times-frac
38×*-un-lft-identity
30×add-cube-cbrt
16×log-prod
add-exp-log associate-/l*
difference-of-sqr--1 add-cbrt-cube
associate-/r* associate-/r/ add-log-exp
pow1
flip3-+ flip-+ distribute-lft-out
associate-*r/ div-exp frac-add div-inv
cbrt-undiv frac-2neg rem-log-exp clear-num associate-/l/
+-commutative log-div sum-log log-pow
Counts
4 → 110
Calls
4 calls:
9.0ms
(/ (+ (/ x y) -1) y)
8.0ms
(/ (exp 1.0) (+ (/ x y) (* 1.0 (/ (+ (/ x y) -1) y))))
7.0ms
(+ (/ x y) (* 1.0 (/ (+ (/ x y) -1) y)))
7.0ms
(log (/ (exp 1.0) (+ (/ x y) (* 1.0 (/ (+ (/ x y) -1) y)))))

series46.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ (+ (/ x y) -1) y)
16.0ms
(/ (exp 1.0) (+ (/ x y) (* 1.0 (/ (+ (/ x y) -1) y))))
8.0ms
(+ (/ x y) (* 1.0 (/ (+ (/ x y) -1) y)))
17.0ms
(log (/ (exp 1.0) (+ (/ x y) (* 1.0 (/ (+ (/ x y) -1) y)))))

simplify53.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
054862273

prune200.0ms

Filtered
97 candidates to 122 candidates (-25.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1220122
Fresh022
Picked011
Done011
Total1224126

Merged error: 0.1b

Counts
126 → 4

regimes116.0ms

Accuracy

99.8% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 18.1b

bsearch93.0ms

Steps
ItersRangePoint
9
975.8669630407379
194497911.87751025
85028056.792489
9
-520887720802.61694
-371826.0962995759
-93755730.34262806

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
018146
118146

end0.0ms

sample1.2s

Algorithm
intervals
Results
271.0ms5690×body80valid
187.0ms796×body1280valid
137.0ms797×body640valid
117.0ms674×body1280nan
100.0ms736×body640nan
57.0ms449×body320valid
45.0ms442×body320nan
26.0ms268×body160valid
14.0ms208×body160nan
11.0ms331×body80nan

Profiling

Loading profile data...