Details

Time bar (total: 4.6s)

sample44.0ms

Algorithm
intervals
Results
9.0ms185×body80valid
7.0ms29×body640valid
4.0ms17×body1280valid
3.0ms23×body640nan
3.0ms92×body80nan
3.0ms15×body1280nan
2.0ms16×body320nan
1.0ms12×body320valid
1.0ms13×body160valid
0.0msbody160nan

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 17.9b

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

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
192×add-sqr-sqrt
184×*-un-lft-identity
105×prod-diff
103×times-frac
91×add-cube-cbrt
49×difference-of-squares
47×distribute-lft-out--
12×log-prod
pow1 flip3-- flip--
associate-/r/
add-exp-log add-log-exp
fma-neg add-cbrt-cube associate--r+
associate-/r* log-pow associate-/l*
expm1-log1p-u log-div log1p-expm1-u div-inv
associate--r-
sub-neg diff-log div-sub associate-/l/
cbrt-undiv frac-2neg div-exp rem-log-exp clear-num
Counts
4 → 227
Calls
4 calls:
20.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
8.0ms
(/ (- x y) (- 1.0 y))
17.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
18.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series291.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
48.0ms
(/ (- x y) (- 1.0 y))
49.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
87.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify102.0ms

Algorithm
egg-herbie
Counts
239 → 239
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
09864621
132403344
250013134

prune392.0ms

Filtered
239 candidates to 126 candidates (52.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2327239
Fresh000
Picked101
Done000
Total2337240

Merged error: 0.1b

Counts
240 → 7

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 1.0 (log (- 1.0 (* (- x y) (/ 1 (- 1.0 y))))))
0.1b
(* (- x y) (/ 1 (- 1.0 y)))
5.9b
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
6.7b
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt
38×*-un-lft-identity
26×add-cube-cbrt
21×associate-*r*
17×times-frac
15×prod-diff
14×add-exp-log
11×pow1
add-cbrt-cube
flip3-- flip-- add-log-exp
log-prod fma-neg distribute-lft-out--
associate-*l* log-pow difference-of-squares
expm1-log1p-u log-div prod-exp log1p-expm1-u
associate--r+ unswap-sqr
frac-times sub-neg diff-log div-exp associate-*l/ associate-/r/ cbrt-unprod associate--r-
cbrt-undiv rec-exp 1-exp associate-*r/ rem-log-exp pow-prod-down un-div-inv *-commutative div-inv
Counts
4 → 125
Calls
4 calls:
6.0ms
(- 1.0 (log (- 1.0 (* (- x y) (/ 1 (- 1.0 y))))))
14.0ms
(* (- x y) (/ 1 (- 1.0 y)))
3.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
3.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

series271.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(- 1.0 (log (- 1.0 (* (- x y) (/ 1 (- 1.0 y))))))
40.0ms
(* (- x y) (/ 1 (- 1.0 y)))
85.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
55.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

simplify68.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
06021451
124391102
250021066

prune239.0ms

Filtered
137 candidates to 97 candidates (70.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1361137
Fresh246
Picked101
Done000
Total1395144

Merged error: 0.1b

Counts
144 → 5

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.1b
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
4.0b
(- 1.0 (/ (- x y) (- 1.0 y)))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
226×add-sqr-sqrt
202×*-un-lft-identity
144×times-frac
102×add-cube-cbrt
93×prod-diff
58×difference-of-squares
50×distribute-lft-out--
24×log-prod
12×associate-/r/
11×associate-/r*
add-exp-log
flip3-- add-cbrt-cube flip-- associate-/l*
div-inv add-log-exp
pow1
expm1-log1p-u log1p-expm1-u
fma-neg div-exp
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 → 248
Calls
4 calls:
16.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
9.0ms
(/ (- x y) (- 1.0 y))
17.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
17.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

series359.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
36.0ms
(/ (- x y) (- 1.0 y))
124.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
51.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

simplify112.0ms

Algorithm
egg-herbie
Counts
260 → 260
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
010744812
137213718
250013710

prune526.0ms

Filtered
260 candidates to 157 candidates (60.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2591260
Fresh134
Picked011
Done000
Total2605265

Merged error: 0.1b

Counts
265 → 5

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt log-prod *-un-lft-identity
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-log-exp log-pow fma-udef
Counts
2 → 24
Calls
2 calls:
1.0ms
(log (fma (* 1.0 (exp 1.0)) (- x y) (* 1.0 (exp 1.0))))
1.0ms
(fma (* 1.0 (exp 1.0)) (- x y) (* 1.0 (exp 1.0)))

series280.0ms

Counts
2 → 6
Calls
2 calls:
161.0ms
(log (fma (* 1.0 (exp 1.0)) (- x y) (* 1.0 (exp 1.0))))
119.0ms
(fma (* 1.0 (exp 1.0)) (- x y) (* 1.0 (exp 1.0)))

simplify49.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 3 (45.0ms)

IterNodesCost
0135299
1355245
21721235
35002224

prune64.0ms

Filtered
30 candidates to 26 candidates (86.7%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New30030
Fresh033
Picked011
Done011
Total30535

Merged error: 0.1b

Counts
35 → 5

regimes186.0ms

Accuracy

99.5% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 18.3b

bsearch112.0ms

Steps
ItersRangePoint
9
2622764.913020247
58586406052719.45
12727887057.006495
7
-591489333.2348301
-16040781.538086794
-152389660.09060627

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03115
13115

end0.0ms

sample1.3s

Algorithm
intervals
Results
271.0ms5692×body80valid
182.0ms779×body1280valid
136.0ms808×body640valid
125.0ms715×body1280nan
102.0ms727×body640nan
91.0ms2567×body80nan
59.0ms466×body320valid
45.0ms441×body320nan
21.0ms255×body160valid
15.0ms225×body160nan