Details

Time bar (total: 3.1s)

sample285.0ms

Algorithm
intervals
Results
13.0ms52×body1280valid
7.0ms145×body80valid
4.0ms27×body640valid
2.0ms20×body320valid
1.0ms12×body160valid

simplify16.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.3b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 1.0 (* (tan x) (tan x)))
0.1b
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
0.2b
(* (tan x) (tan x))
0.2b
(* (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:
2.0ms
(- 1.0 (* (tan x) (tan x)))
4.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
3.0ms
(* (tan x) (tan x))
6.0ms
(* (tan x) (tan x))

series221.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- 1.0 (* (tan x) (tan x)))
95.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
34.0ms
(* (tan x) (tan x))
60.0ms
(* (tan x) (tan x))

simplify47.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0159224
1448214
21307213
35002199

prune83.0ms

Filtered
34 candidates to 22 candidates (64.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New27734
Fresh000
Picked011
Done000
Total27835

Merged error: 0.1b

Counts
35 → 8

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite19.0ms

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

series252.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0168277
1540268
22336240
35001240

prune101.0ms

Filtered
42 candidates to 29 candidates (69.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New39342
Fresh246
Picked101
Done101
Total43750

Merged error: 0.0b

Counts
50 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))
0.2b
(* (- 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x))))
0.3b
(* (* (tan x) (tan x)) (* (tan x) (tan x)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
40×tan-quot
23×frac-times
15×associate-*r/ associate-*l/
14×*-commutative
10×pow2
flip3-- flip--
swap-sqr unswap-sqr
distribute-rgt-in sub-neg distribute-lft-in associate-*r* associate-*l*
pow-prod-down pow-sqr pow-prod-up
Counts
4 → 56
Calls
4 calls:
4.0ms
(* (tan x) (tan x))
4.0ms
(* (tan x) (tan x))
4.0ms
(* (- 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x))))
9.0ms
(* (* (tan x) (tan x)) (* (tan x) (tan x)))

series174.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (tan x) (tan x))
36.0ms
(* (tan x) (tan x))
55.0ms
(* (- 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x))))
51.0ms
(* (* (tan x) (tan x)) (* (tan x) (tan x)))

simplify85.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (78.0ms)

IterNodesCost
0256490
1808470
23082456
35002429

prune125.0ms

Filtered
68 candidates to 29 candidates (42.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New65368
Fresh066
Picked101
Done000
Total66975

Merged error: 0.0b

Counts
75 → 9

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))
0.2b
(* (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
0.3b
(* (* (tan x) (tan x)) (* (tan x) (tan x)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
40×tan-quot
19×frac-times
15×associate-*l/
14×*-commutative
13×associate-*r/
pow2
swap-sqr unswap-sqr
associate-*r* associate-*l* fma-udef
distribute-rgt-in flip3-- distribute-lft-in pow-prod-down pow-sqr pow-prod-up flip--
Counts
4 → 47
Calls
4 calls:
4.0ms
(* (tan x) (tan x))
4.0ms
(* (tan x) (tan x))
4.0ms
(* (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
10.0ms
(* (* (tan x) (tan x)) (* (tan x) (tan x)))

series247.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* (tan x) (tan x))
31.0ms
(* (tan x) (tan x))
133.0ms
(* (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
46.0ms
(* (* (tan x) (tan x)) (* (tan x) (tan x)))

simplify56.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 3 (51.0ms)

IterNodesCost
0209303
1588293
21800290
35001267

prune108.0ms

Filtered
59 candidates to 26 candidates (44.1%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New57259
Fresh178
Picked011
Done000
Total581068

Merged error: 0.0b

Counts
68 → 10

regimes121.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02129
12129

end0.0ms

sample948.0ms

Algorithm
intervals
Results
389.0ms1534×body1280valid
201.0ms1236×body640valid
150.0ms4308×body80valid
70.0ms613×body320valid
25.0ms309×body160valid