Details

Time bar (total: 4.4s)

sample298.0ms

Algorithm
intervals
Results
18.0ms41×body1280valid
11.0ms39×body640valid
7.0ms138×body80valid
7.0ms28×body320valid
1.0ms10×body160valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1229
2299
3379
4439
5459
6459

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
23×add-cube-cbrt *-un-lft-identity
18×pow1
12×times-frac
10×add-exp-log add-cbrt-cube
tan-quot
swap-sqr associate-*r* associate-*l* add-log-exp
difference-of-squares
expm1-log1p-u log1p-expm1-u associate-/l*
fma-neg prod-diff associate-/r*
pow2 frac-times flip3-- pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp associate-/r/ pow-sqr *-commutative pow-prod-up flip-- cbrt-unprod associate-/l/ unswap-sqr
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-sub div-exp clear-num flip-+ div-inv
Counts
4 → 119
Calls
4 calls:
9.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
2.0ms
(- 1.0 (* (tan x) (tan x)))
5.0ms
(* (tan x) (tan x))
7.0ms
(* (tan x) (tan x))

series215.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
34.0ms
(- 1.0 (* (tan x) (tan x)))
31.0ms
(* (tan x) (tan x))
55.0ms
(* (tan x) (tan x))

simplify48.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03381007
11243918
25001882

prune287.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt add-cube-cbrt unpow-prod-down pow-unpow *-un-lft-identity
pow1 add-exp-log
expm1-log1p-u pow-to-exp pow-pow pow-exp add-cbrt-cube log1p-expm1-u unpow2 add-log-exp sqr-pow
Counts
4 → 80
Calls
4 calls:
1.0ms
(pow (cos x) 2)
1.0ms
(pow (cos x) 2)
1.0ms
(pow (sin x) 2)
2.0ms
(pow (sin x) 2)

series73.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0146308
1487260
21671260
35001256

prune239.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
136×pow1
44×tan-quot
39×pow-prod-up
26×pow-prod-down
25×pow-sqr
22×add-exp-log add-sqr-sqrt add-cbrt-cube
21×pow-plus
20×frac-times
16×pow2 add-cube-cbrt *-un-lft-identity
14×associate-*r/ associate-*l/
11×prod-exp cbrt-unprod
10×swap-sqr associate-*r* associate-*l*
expm1-log1p-u *-commutative log1p-expm1-u add-log-exp unswap-sqr
Counts
4 → 170
Calls
4 calls:
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))
24.0ms
(* (* (tan x) (tan x)) (* (tan x) (tan x)))

series153.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(* (tan x) (tan x))
33.0ms
(* (tan x) (tan x))
33.0ms
(* (tan x) (tan x))
53.0ms
(* (* (tan x) (tan x)) (* (tan x) (tan x)))

simplify147.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 3 (139.0ms)

IterNodesCost
0280686
1936547
24113526
35001495

prune316.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
23×add-cube-cbrt *-un-lft-identity
19×pow1 log-pow
18×exp-prod
12×times-frac
tan-quot add-exp-log add-cbrt-cube
swap-sqr associate-*r* associate-*l* add-log-exp
expm1-log1p-u log1p-expm1-u difference-of-squares
log-prod fma-neg prod-diff
pow2 frac-times pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp associate-/r/ pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
sub-neg log-div flip3-- flip3-+ exp-diff diff-log div-sub rem-log-exp flip-- flip-+ div-inv
Counts
4 → 114
Calls
4 calls:
2.0ms
(- 1.0 (* (tan x) (tan x)))
14.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))

series193.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- 1.0 (* (tan x) (tan x)))
93.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))
35.0ms
(* (tan x) (tan x))
32.0ms
(* (tan x) (tan x))

simplify154.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 3 (145.0ms)

IterNodesCost
0312858
1957771
24579748
35001743

prune294.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

regimes150.0ms

Accuracy

0% (0.3b 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
01011
11011

end0.0ms

sample1.6s

Algorithm
intervals
Results
687.0ms1507×body1280valid
354.0ms1260×body640valid
250.0ms4337×body80valid
117.0ms601×body320valid
39.0ms295×body160valid