Details

Time bar (total: 9.9s)

analyze1.4s

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
0%100%0%4
0%100%0%5
0%100%0%6
0%100%0%7
0%100%0%8
0%100%0%9
0%100%0%10
0%100%0%11
0%100%0%12
0%100%0%13
0.1%99.9%0%14

sample220.0ms

Algorithm
intervals
Results
104.0ms42×body2560valid
80.0ms105×body1280valid
17.0ms62×body640valid
6.0ms31×body320valid
2.0ms11×body160valid
0.0msbody80valid

simplify481.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
010049
110049

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.1b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

0.7b
(- x (sin x))
0.7b
(- x (tan x))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 26
Calls
2 calls:
3.0ms
(- x (sin x))
5.0ms
(- x (tan x))

series25.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(- x (sin x))
20.0ms
(- x (tan x))

simplify52.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
04886252
14886252

prune48.0ms

Filtered
25 candidates to 32 candidates (-28.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New30232
Fresh000
Picked011
Done000
Total30333

Merged error: 29.8b

Counts
33 → 3

localize11.0ms

Local error

Found 3 expressions with local error:

0.7b
(- x (sin x))
0.7b
(- x (tan x))
1.6b
(exp (log (- x (sin x))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity
add-log-exp
add-cube-cbrt log-prod exp-sum
pow1 exp-prod
add-exp-log flip3-- add-cbrt-cube flip-- distribute-lft-out-- difference-of-squares
sub-neg log-div exp-diff diff-log
log-pow rem-exp-log
Counts
3 → 45
Calls
3 calls:
4.0ms
(- x (sin x))
3.0ms
(- x (tan x))
5.0ms
(exp (log (- x (sin x))))

series19.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(- x (sin x))
10.0ms
(- x (tan x))
5.0ms
(exp (log (- x (sin x))))

simplify53.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
05008410

prune56.0ms

Filtered
39 candidates to 54 candidates (-38.5%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New54054
Fresh011
Picked011
Done011
Total54357

Merged error: 29.8b

Counts
57 → 3

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (pow x 7) -17/315)
0.1b
(* (pow x 3) -1/3)
0.7b
(- x (sin x))
20.8b
(/ (- x (sin x)) (+ (* (pow x 7) -17/315) (+ (* (pow x 5) -2/15) (* (pow x 3) -1/3))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt
31×*-un-lft-identity
21×add-cube-cbrt
19×associate-*l*
16×add-exp-log
15×times-frac
10×add-cbrt-cube
unpow-prod-down
unswap-sqr
associate-*r* prod-exp add-log-exp
associate-/l* distribute-lft-out-- difference-of-squares
pow1 cube-prod sqr-pow
associate-/r*
pow-to-exp flip3-- pow-exp associate-/r/ *-commutative flip-- cbrt-unprod associate-/l/
cbrt-undiv cube-mult sub-neg frac-2neg flip3-+ diff-log unpow3 div-sub div-exp clear-num flip-+ div-inv
Counts
4 → 109
Calls
4 calls:
5.0ms
(* (pow x 7) -17/315)
5.0ms
(* (pow x 3) -1/3)
3.0ms
(- x (sin x))
14.0ms
(/ (- x (sin x)) (+ (* (pow x 7) -17/315) (+ (* (pow x 5) -2/15) (* (pow x 3) -1/3))))

series24.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* (pow x 7) -17/315)
4.0ms
(* (pow x 3) -1/3)
5.0ms
(- x (sin x))
11.0ms
(/ (- x (sin x)) (+ (* (pow x 7) -17/315) (+ (* (pow x 5) -2/15) (* (pow x 3) -1/3))))

simplify52.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
049461913
149461913

prune228.0ms

Filtered
85 candidates to 121 candidates (-42.4%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1201121
Fresh000
Picked101
Done112
Total1222124

Merged error: 0b

Counts
124 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
16×add-exp-log
13×associate-*l* add-cbrt-cube
11×pow1
10×add-cube-cbrt *-un-lft-identity
add-log-exp
associate-*r* prod-exp
cbrt-unprod
unpow-prod-down pow-prod-down unswap-sqr
sum-log *-commutative
sqr-pow
+-commutative pow-to-exp associate-+r+ flip3-+ pow-exp flip-+
Counts
4 → 74
Calls
4 calls:
5.0ms
(* x (* x 9/40))
3.0ms
(* x 9/40)
5.0ms
(* (pow x 4) -27/2800)
7.0ms
(+ (* x (* x 9/40)) (+ -1/2 (* (pow x 4) -27/2800)))

series16.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* x (* x 9/40))
2.0ms
(* x 9/40)
4.0ms
(* (pow x 4) -27/2800)
7.0ms
(+ (* x (* x 9/40)) (+ -1/2 (* (pow x 4) -27/2800)))

simplify55.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
04903646
14903646

prune93.0ms

Filtered
53 candidates to 86 candidates (-62.3%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New86086
Fresh000
Picked011
Done011
Total86288

Merged error: 0b

Counts
88 → 2

regimes65.0ms

Accuracy

100% (0.0b remaining)

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

bsearch41.0ms

Steps
ItersRangePoint
9
9.299670870717113e-08
87.35998906183329
0.031007281596359057
11
-3560362672.644169
-1.473579139110427e-14
-0.02693006589856737

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04831
14831

end0.0ms

sample6.8s

Algorithm
intervals
Results
4.2s1627×body2560valid
1.7s2721×body1280valid
529.0ms1901×body640valid
172.0ms939×body320valid
69.0ms487×body160valid
26.0ms325×body80valid

Profiling

Loading profile data...