Details

Time bar (total: 3.0s)

sample277.0ms

Algorithm
intervals
Results
12.0ms42×body1280valid
7.0ms44×body640valid
5.0ms142×body80valid
2.0ms17×body320valid
1.0ms11×body160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1229
2299
3379
4439
5459
6459

prune3.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: 0.4b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
0.2b
(- 1.0 (* (tan x) (tan x)))
0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
tan-quot
pow2 frac-times flip3-- associate-*r/ associate-*l/ associate-/r/ *-commutative flip-- associate-/l/
sub-neg frac-2neg flip3-+ div-sub clear-num flip-+ div-inv
Counts
4 → 22
Calls
4 calls:
4.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
2.0ms
(- 1.0 (* (tan x) (tan x)))
3.0ms
(* (tan x) (tan x))
6.0ms
(* (tan x) (tan x))

series218.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
33.0ms
(- 1.0 (* (tan x) (tan x)))
48.0ms
(* (tan x) (tan x))
43.0ms
(* (tan x) (tan x))

simplify47.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0159224
1448215
21307213
35002199

prune94.0ms

Filtered
34 candidates to 22 candidates (64.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New25934
Fresh000
Picked101
Done000
Total26935

Merged error: 0.1b

Counts
35 → 9

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(- 1.0 (* (tan x) (tan x)))
0.2b
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
tan-quot frac-times
flip3-- associate-*r/ flip--
associate-*l/ clear-num
frac-2neg associate-*r* *-commutative
pow2 associate-/r/ un-div-inv
sub-neg flip3-+ flip-+ div-inv
Counts
4 → 31
Calls
4 calls:
2.0ms
(- 1.0 (* (tan x) (tan x)))
5.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
4.0ms
(* (tan x) (tan x))
4.0ms
(* (tan x) (tan x))

series195.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- 1.0 (* (tan x) (tan x)))
94.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
36.0ms
(* (tan x) (tan x))
32.0ms
(* (tan x) (tan x))

simplify149.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 3 (145.0ms)

IterNodesCost
0188326
1771300
24197271
35001264

prune100.0ms

Filtered
43 candidates to 23 candidates (53.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New39443
Fresh268
Picked101
Done000
Total421052

Merged error: 0.1b

Counts
52 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (cos x) 2)
0.2b
(pow (cos x) 2)
0.2b
(pow (sin x) 2)
0.2b
(pow (sin x) 2)

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
pow-to-exp unpow2 sqr-pow
Counts
4 → 12
Calls
4 calls:
2.0ms
(pow (cos x) 2)
2.0ms
(pow (cos x) 2)
2.0ms
(pow (sin x) 2)
2.0ms
(pow (sin x) 2)

series73.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(pow (cos x) 2)
16.0ms
(pow (cos x) 2)
22.0ms
(pow (sin x) 2)
19.0ms
(pow (sin x) 2)

simplify122.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
06260
120956
263956
3304456
4500156

prune73.0ms

Filtered
24 candidates to 12 candidates (50.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New24024
Fresh099
Picked011
Done000
Total241034

Merged error: 0.1b

Counts
34 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(fma (- (pow (tan x) 3)) (tan x) (* 1.0 1.0))
0.2b
(/ (fma (- (pow (tan x) 3)) (tan x) (* 1.0 1.0)) (fma (tan x) (tan x) 1.0))
0.3b
(* (tan x) (tan x))
0.4b
(pow (tan x) 3)

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
tan-quot
pow2 frac-times pow-to-exp frac-2neg unpow3 associate-*r/ associate-*l/ clear-num *-commutative fma-udef div-inv sqr-pow
Counts
4 → 12
Calls
4 calls:
1.0ms
(fma (- (pow (tan x) 3)) (tan x) (* 1.0 1.0))
2.0ms
(/ (fma (- (pow (tan x) 3)) (tan x) (* 1.0 1.0)) (fma (tan x) (tan x) 1.0))
3.0ms
(* (tan x) (tan x))
2.0ms
(pow (tan x) 3)

series311.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(fma (- (pow (tan x) 3)) (tan x) (* 1.0 1.0))
148.0ms
(/ (fma (- (pow (tan x) 3)) (tan x) (* 1.0 1.0)) (fma (tan x) (tan x) 1.0))
31.0ms
(* (tan x) (tan x))
49.0ms
(pow (tan x) 3)

simplify50.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 3 (47.0ms)

IterNodesCost
0148130
1454129
21533126
35001123

prune68.0ms

Filtered
24 candidates to 17 candidates (70.8%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New22224
Fresh088
Picked011
Done011
Total221234

Merged error: 0.1b

Counts
34 → 12

regimes183.0ms

Accuracy

0% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01213
11213

end0.0ms

sample924.0ms

Algorithm
intervals
Results
379.0ms1538×body1280valid
196.0ms1266×body640valid
150.0ms4303×body80valid
65.0ms595×body320valid
23.0ms298×body160valid