Details

Time bar (total: 5.9s)

sample36.0ms

Algorithm
intervals
Results
7.0ms193×body80valid
5.0ms26×body1280valid
4.0ms149×body80nan
2.0ms18×body640valid
2.0ms14×body640nan
1.0ms12×body320valid
1.0msbody1280nan
1.0msbody320nan
0.0msbody160valid
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: 15.6b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x y) (- 1.0 y))
1.8b
(- 1.0 (/ (- x y) (- 1.0 y)))
3.3b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
175×add-sqr-sqrt
169×*-un-lft-identity
102×times-frac
93×prod-diff
81×add-cube-cbrt
46×difference-of-squares
44×distribute-lft-out--
associate-/r/
flip3-- flip--
add-exp-log log-prod
associate-/r* add-cbrt-cube associate-/l* add-log-exp
pow1 div-inv
expm1-log1p-u fma-neg log1p-expm1-u
log-div div-sub associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-exp rem-log-exp clear-num log-pow associate--r-
Counts
3 → 187
Calls
3 calls:
8.0ms
(/ (- x y) (- 1.0 y))
19.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
19.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series171.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(/ (- x y) (- 1.0 y))
52.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
83.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify97.0ms

Algorithm
egg-herbie
Counts
196 → 196
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
08473956
127662899
250012689

prune311.0ms

Filtered
196 candidates to 98 candidates (50.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1924196
Fresh000
Picked101
Done000
Total1934197

Merged error: 0.0b

Counts
197 → 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.3b
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
4.5b
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt
44×*-un-lft-identity
32×times-frac
27×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*
expm1-log1p-u div-exp prod-exp associate-/r/ log1p-expm1-u
log-prod fma-neg prod-diff 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 → 131
Calls
4 calls:
6.0ms
(/ 1 (- 1.0 y))
16.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))))

series201.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ 1 (- 1.0 y))
42.0ms
(* (- x y) (/ 1 (- 1.0 y)))
85.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
50.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

simplify64.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0521939
12201815
25001760

prune236.0ms

Filtered
143 candidates to 97 candidates (67.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1430143
Fresh033
Picked011
Done000
Total1434147

Merged error: 0.0b

Counts
147 → 4

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))) (log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y)))))))
1.8b
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
11.7b
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
12.0b
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

rewrite327.0ms

Algorithm
rewrite-expression-head
Rules
1120×add-sqr-sqrt
1014×*-un-lft-identity
832×prod-diff
633×unpow-prod-down cube-prod
624×times-frac
500×add-cube-cbrt
313×difference-of-squares
259×distribute-lft-out--
111×sqr-pow
81×cube-mult unpow3
72×log-prod
48×associate-/r/
33×associate--l+
28×flip3-- flip--
24×div-inv
19×pow1
16×fma-neg
15×log-pow
log-div
add-exp-log add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u
difference-cubes associate--r+
associate--l- sub-neg flip3-+ diff-log rem-log-exp flip-+ associate--r-
Counts
4 → 1013
Calls
4 calls:
66.0ms
(- (log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))) (log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y)))))))
61.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
78.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
17.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

series1.0s

Counts
4 → 12
Calls
4 calls:
361.0ms
(- (log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))) (log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y)))))))
180.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
332.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
161.0ms
(log (+ (* 1.0 1.0) (+ (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))) (* 1.0 (/ (- x y) (- 1.0 y))))))

simplify323.0ms

Algorithm
egg-herbie
Counts
1025 → 1025
Iterations

Useful iterations: 1 (40.0ms)

IterNodesCost
0182335298
1500126869

prune682.0ms

Filtered
1025 candidates to 146 candidates (14.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New102501025
Fresh022
Picked011
Done011
Total102541029

Merged error: 0.0b

Counts
1029 → 4

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
1.8b
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
2.2b
(log (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))))
3.3b
(log (+ 1.0 (/ (- x y) (- 1.0 y))))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
240×*-un-lft-identity
166×add-sqr-sqrt
152×times-frac
76×distribute-lft-out--
58×add-cube-cbrt
55×swap-sqr
50×difference-of-squares
31×associate-*r* associate-*l*
18×add-exp-log
16×add-cbrt-cube
13×pow1
log-prod associate-/r/
flip3-- flip-- add-log-exp
cbrt-undiv expm1-log1p-u log-div div-exp prod-exp cbrt-unprod log1p-expm1-u div-inv unswap-sqr
rem-log-exp log-pow
pow2 frac-times sub-neg flip3-+ pow-plus fma-neg diff-log associate-*r/ prod-diff pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up flip-+ distribute-lft-out
Counts
4 → 198
Calls
4 calls:
30.0ms
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
4.0ms
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
4.0ms
(log (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))))
12.0ms
(log (+ 1.0 (/ (- x y) (- 1.0 y))))

series560.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
106.0ms
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
326.0ms
(log (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))))
78.0ms
(log (+ 1.0 (/ (- x y) (- 1.0 y))))

simplify116.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
09312442
142182242
250012236

prune434.0ms

Filtered
210 candidates to 124 candidates (59.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2091210
Fresh011
Picked101
Done022
Total2104214

Merged error: 0.0b

Counts
214 → 4

regimes109.0ms

Accuracy

96.9% (0.5b remaining)

Error of 0.6b against oracle of 0.1b and baseline of 17.7b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02718
12718

end0.0ms

sample1.0s

Algorithm
intervals
Results
228.0ms5714×body80valid
154.0ms760×body1280valid
118.0ms822×body640valid
97.0ms3651×body80nan
50.0ms318×body1280nan
47.0ms449×body320valid
44.0ms372×body640nan
20.0ms236×body320nan
17.0ms255×body160valid
7.0ms126×body160nan

Profiling

Loading profile data...