Details

Time bar (total: 3.1s)

sample285.0ms

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

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

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

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

series223.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- 1.0 (* (tan x) (tan x)))
96.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
35.0ms
(* (tan x) (tan x))
58.0ms
(* (tan x) (tan x))

simplify139.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 4 (135.0ms)

IterNodesCost
0154226
1411224
21148224
34447214
45001213

prune84.0ms

Filtered
34 candidates to 22 candidates (64.7%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New26834
Fresh000
Picked101
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))

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

series253.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x))))
92.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))

simplify76.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0161281
1505278
22166256
35001255

prune102.0ms

Filtered
42 candidates to 29 candidates (69.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New39342
Fresh257
Picked101
Done000
Total42850

Merged error: 0.0b

Counts
50 → 8

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:
3.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)))

series175.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
0249492
1766482
22817473
35002450

prune128.0ms

Filtered
68 candidates to 29 candidates (42.6%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New65368
Fresh077
Picked101
Done000
Total661076

Merged error: 0.0b

Counts
76 → 10

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
72×tan-quot
36×frac-times
24×associate-*r/ associate-*l/ *-commutative
16×pow2
swap-sqr unswap-sqr
associate-*r* associate-*l*
pow-prod-down pow-sqr pow-prod-up
Counts
4 → 74
Calls
4 calls:
4.0ms
(* (tan x) (tan x))
3.0ms
(* (tan x) (tan x))
9.0ms
(* (* (tan x) (tan x)) (* (tan x) (tan x)))
9.0ms
(* (* (tan x) (tan x)) (* (tan x) (tan x)))

series167.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* (tan x) (tan x))
33.0ms
(* (tan x) (tan x))
50.0ms
(* (* (tan x) (tan x)) (* (tan x) (tan x)))
47.0ms
(* (* (tan x) (tan x)) (* (tan x) (tan x)))

simplify42.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0145402
1380382
21034382
35001382

prune113.0ms

Filtered
86 candidates to 28 candidates (32.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New84286
Fresh279
Picked101
Done000
Total87996

Merged error: 0.0b

Counts
96 → 9

regimes123.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
01113
11113

end0.0ms

sample944.0ms

Algorithm
intervals
Results
382.0ms1534×body1280valid
205.0ms1236×body640valid
148.0ms4308×body80valid
69.0ms613×body320valid
27.0ms309×body160valid