Details

Time bar (total: 9.8s)

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

sample268.0ms

Algorithm
intervals
Results
169.0ms55×body2560valid
64.0ms93×body1280valid
15.0ms57×body640valid
6.0ms31×body320valid
2.0ms13×body160valid
1.0msbody80valid

simplify472.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: 35.6b

Counts
2 → 1

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

rewrite31.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 → 78
Calls
3 calls:
18.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (tan x))
6.0ms
(- x (sin x))

series38.0ms

Counts
3 → 9
Calls
3 calls:
13.0ms
(/ (- x (sin x)) (- x (tan x)))
11.0ms
(- x (tan x))
13.0ms
(- x (sin x))

simplify63.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
048641139
148641139

prune97.0ms

Filtered
63 candidates to 87 candidates (-38.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New83487
Fresh000
Picked101
Done000
Total84488

Merged error: 0.0b

Counts
88 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (pow x 4) -27/2800)
0.1b
(* x 9/40)
0.1b
(* x (* x 9/40))
14.6b
(+ (* 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
(* (pow x 4) -27/2800)
3.0ms
(* x 9/40)
4.0ms
(* x (* x 9/40))
8.0ms
(+ (* x (* x 9/40)) (+ -1/2 (* (pow x 4) -27/2800)))

series14.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
04903646
14903646

prune101.0ms

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New86086
Fresh033
Picked011
Done000
Total86490

Merged error: 0.0b

Counts
90 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
1.2b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
1.4b
(- x (tan x))
1.4b
(- x (tan x))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity
44×add-sqr-sqrt
33×times-frac
18×distribute-lft-out--
16×add-cube-cbrt
12×difference-of-squares
10×add-log-exp
add-exp-log flip3-- associate-/r/ add-cbrt-cube flip--
associate-/r*
pow1
sub-neg distribute-rgt-out-- diff-log div-inv associate-/l*
cbrt-undiv frac-2neg div-exp clear-num frac-sub sub-div
Counts
4 → 91
Calls
4 calls:
6.0ms
(/ (sin x) (- x (tan x)))
28.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))

series61.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(/ (sin x) (- x (tan x)))
30.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
10.0ms
(- x (tan x))
10.0ms
(- x (tan x))

simplify52.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
050281430

prune91.0ms

Filtered
80 candidates to 103 candidates (-28.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1003103
Fresh202
Picked101
Done011
Total1034107

Merged error: 0.0b

Counts
107 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
1.2b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
1.4b
(- x (tan x))
1.4b
(- x (tan x))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity
44×add-sqr-sqrt
33×times-frac
18×distribute-lft-out--
16×add-cube-cbrt
12×difference-of-squares
10×add-log-exp
add-exp-log flip3-- associate-/r/ add-cbrt-cube flip--
associate-/r*
pow1
sub-neg distribute-rgt-out-- diff-log div-inv associate-/l*
cbrt-undiv frac-2neg div-exp clear-num frac-sub sub-div
Counts
4 → 91
Calls
4 calls:
6.0ms
(/ (sin x) (- x (tan x)))
28.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))

series62.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(/ (sin x) (- x (tan x)))
32.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
10.0ms
(- x (tan x))
10.0ms
(- x (tan x))

simplify48.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
050281430

prune117.0ms

Filtered
81 candidates to 103 candidates (-27.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1021103
Fresh022
Picked011
Done011
Total1025107

Merged error: 0.0b

Counts
107 → 5

regimes49.0ms

Accuracy

100% (0.0b remaining)

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

bsearch37.0ms

Steps
ItersRangePoint
10
2.494025445275307e-09
407.48051452230374
0.030174469617931295
8
-0.21125380283824044
-0.00015107894629750538
-0.028305308455860895

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05838
15838

end0.0ms

sample6.7s

Algorithm
intervals
Results
4.1s1572×body2560valid
1.7s2796×body1280valid
504.0ms1894×body640valid
165.0ms930×body320valid
58.0ms464×body160valid
26.0ms344×body80valid

Profiling

Loading profile data...