Details

Time bar (total: 8.9s)

sample504.0ms

Algorithm
intervals
Results
142.0ms53×body2560valid
48.0ms83×body1280valid
19.0ms69×body640valid
5.0ms29×body320valid
2.0ms13×body160valid
1.0msbody80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1175
2195
3195

prune4.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: 34.1b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
1.4b
(- x (tan x))
1.4b
(- x (sin x))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt *-un-lft-identity
25×times-frac
15×add-cube-cbrt
14×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log associate-/r* add-cbrt-cube associate-/l*
flip3-- flip--
pow1
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-sub div-exp clear-num div-inv
Counts
3 → 80
Calls
3 calls:
8.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (tan x))
6.0ms
(- x (sin x))

series176.0ms

Counts
3 → 9
Calls
3 calls:
75.0ms
(/ (- x (sin x)) (- x (tan x)))
60.0ms
(- x (tan x))
40.0ms
(- x (sin x))

simplify150.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0363718
11148684
24781684
35001684

prune176.0ms

Filtered
89 candidates to 63 candidates (70.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New85489
Fresh000
Picked101
Done000
Total86490

Merged error: 0.0b

Counts
90 → 4

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 27/2800 (pow x 4))
0.2b
(* 9/40 (pow x 2))
14.6b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp
add-cbrt-cube unswap-sqr
associate-*l* prod-exp
sqr-pow
pow1
pow-to-exp diff-log pow-exp *-commutative cbrt-unprod unpow2
sub-neg flip3-- sum-log flip-- associate--r+
Counts
3 → 66
Calls
3 calls:
5.0ms
(* 27/2800 (pow x 4))
5.0ms
(* 9/40 (pow x 2))
7.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series105.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(* 27/2800 (pow x 4))
24.0ms
(* 9/40 (pow x 2))
46.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify43.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0273349
11123316
25001313

prune128.0ms

Filtered
75 candidates to 46 candidates (61.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New74175
Fresh033
Picked101
Done000
Total75479

Merged error: 0.0b

Counts
79 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 27/2800 (pow x 4))
0.2b
(* 9/40 (pow x 2))
1.6b
(log (exp (* 9/40 (pow x 2))))
18.0b
(- (log (exp (* 9/40 (pow x 2)))) (+ (* 27/2800 (pow x 4)) 1/2))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
15×*-un-lft-identity associate-*r*
14×add-exp-log
12×add-cube-cbrt
unpow-prod-down add-cbrt-cube add-log-exp
unswap-sqr
pow1 log-prod associate-*l* prod-exp
log-pow sqr-pow
associate--l+
pow-to-exp diff-log pow-exp *-commutative cbrt-unprod distribute-lft-out-- unpow2
sub-neg exp-prod flip3-- exp-to-pow rem-log-exp sum-log flip-- associate--r+ difference-of-squares
Counts
4 → 86
Calls
4 calls:
5.0ms
(* 27/2800 (pow x 4))
8.0ms
(* 9/40 (pow x 2))
2.0ms
(log (exp (* 9/40 (pow x 2))))
7.0ms
(- (log (exp (* 9/40 (pow x 2)))) (+ (* 27/2800 (pow x 4)) 1/2))

series129.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(* 27/2800 (pow x 4))
27.0ms
(* 9/40 (pow x 2))
24.0ms
(log (exp (* 9/40 (pow x 2))))
43.0ms
(- (log (exp (* 9/40 (pow x 2)))) (+ (* 27/2800 (pow x 4)) 1/2))

simplify45.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0306499
11175434
25002434

prune195.0ms

Filtered
98 candidates to 63 candidates (64.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New97198
Fresh033
Picked101
Done000
Total984102

Merged error: 0.0b

Counts
102 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 27/2800 (pow x 4))
0.2b
(* 9/40 (pow x 2))
22.6b
(- (* 81/1600 (pow x 4)) (* (+ (* 27/2800 (pow x 4)) 1/2) (+ (* 27/2800 (pow x 4)) 1/2)))
26.1b
(/ (- (* 81/1600 (pow x 4)) (* (+ (* 27/2800 (pow x 4)) 1/2) (+ (* 27/2800 (pow x 4)) 1/2))) (+ (+ (* 9/40 (pow x 2)) (* 27/2800 (pow x 4))) 1/2))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
27×*-un-lft-identity
19×add-cube-cbrt
16×add-exp-log
15×associate-*r*
12×times-frac
10×add-cbrt-cube
unpow-prod-down
unswap-sqr
associate-*l* prod-exp add-log-exp
pow1 associate-/r* distribute-lft-out sqr-pow
associate-/l*
pow-to-exp flip3-- pow-exp associate-/r/ *-commutative flip-- cbrt-unprod associate-/l/ associate--r+ unpow2
cbrt-undiv distribute-rgt-in sub-neg frac-2neg distribute-lft-in flip3-+ diff-log div-sub div-exp clear-num flip-+ div-inv
Counts
4 → 102
Calls
4 calls:
5.0ms
(* 27/2800 (pow x 4))
6.0ms
(* 9/40 (pow x 2))
4.0ms
(- (* 81/1600 (pow x 4)) (* (+ (* 27/2800 (pow x 4)) 1/2) (+ (* 27/2800 (pow x 4)) 1/2)))
14.0ms
(/ (- (* 81/1600 (pow x 4)) (* (+ (* 27/2800 (pow x 4)) 1/2) (+ (* 27/2800 (pow x 4)) 1/2))) (+ (+ (* 9/40 (pow x 2)) (* 27/2800 (pow x 4))) 1/2))

series259.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(* 27/2800 (pow x 4))
26.0ms
(* 9/40 (pow x 2))
102.0ms
(- (* 81/1600 (pow x 4)) (* (+ (* 27/2800 (pow x 4)) 1/2) (+ (* 27/2800 (pow x 4)) 1/2)))
96.0ms
(/ (- (* 81/1600 (pow x 4)) (* (+ (* 27/2800 (pow x 4)) 1/2) (+ (* 27/2800 (pow x 4)) 1/2))) (+ (+ (* 9/40 (pow x 2)) (* 27/2800 (pow x 4))) 1/2))

simplify82.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
04761400
123761276
250011273

prune248.0ms

Filtered
114 candidates to 76 candidates (66.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1131114
Fresh033
Picked101
Done000
Total1144118

Merged error: 0.0b

Counts
118 → 4

regimes34.0ms

Accuracy

100% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 32.0b

bsearch89.0ms

Steps
ItersRangePoint
9
2.8262556577633816e-09
1.3569245790634763
0.030020902626644374
7
-5.155753157609302
-0.022529268385055725
-0.030671364754495358

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04559
14559

end0.0ms

sample6.4s

Algorithm
intervals
Results
3.9s1583×body2560valid
1.6s2814×body1280valid
514.0ms1927×body640valid
157.0ms901×body320valid
56.0ms450×body160valid
25.0ms325×body80valid

Profiling

Loading profile data...