Details

Time bar (total: 6.2s)

sample45.0ms

Algorithm
intervals
Results
9.0ms193×body80valid
6.0ms26×body1280valid
4.0ms29×body640nan
4.0ms21×body1280nan
4.0ms105×body80nan
3.0ms18×body640valid
2.0ms17×body320nan
1.0ms12×body320valid
1.0msbody160nan
1.0msbody160valid

simplify18.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))))

rewrite56.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))
16.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
21.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series179.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(/ (- x y) (- 1.0 y))
56.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
85.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify96.0ms

Algorithm
egg-herbie
Counts
196 → 196
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
08473956
127662899
250012689

prune301.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))))

rewrite29.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))
13.0ms
(* (- x y) (/ 1 (- 1.0 y)))
3.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
4.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

series197.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ 1 (- 1.0 y))
37.0ms
(* (- x y) (/ 1 (- 1.0 y)))
83.0ms
(log (- 1.0 (* (- x y) (/ 1 (- 1.0 y)))))
54.0ms
(- 1.0 (* (- x y) (/ 1 (- 1.0 y))))

simplify63.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (48.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))))))

rewrite337.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:
69.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)))))))
66.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
80.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
21.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:
363.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)))))))
176.0ms
(- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3))
325.0ms
(log (- (pow 1.0 3) (pow (/ (- x y) (- 1.0 y)) 3)))
166.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 (42.0ms)

IterNodesCost
0182335298
1500126869

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

localize13.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))))

rewrite65.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:
34.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))))

series562.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))
101.0ms
(- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y))))
315.0ms
(log (- (* 1.0 1.0) (* (/ (- x y) (- 1.0 y)) (/ (- x y) (- 1.0 y)))))
82.0ms
(log (+ 1.0 (/ (- x y) (- 1.0 y))))

simplify140.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 2 (108.0ms)

IterNodesCost
09312442
142182242
250012236

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

regimes94.0ms

Accuracy

96.9% (0.5b remaining)

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

bsearch1.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02718
12718

end0.0ms

sample1.3s

Algorithm
intervals
Results
275.0ms5714×body80valid
183.0ms760×body1280valid
143.0ms822×body640valid
126.0ms670×body1280nan
104.0ms740×body640nan
92.0ms2592×body80nan
56.0ms449×body320valid
49.0ms469×body320nan
21.0ms255×body160valid
16.0ms232×body160nan