Details

Time bar (total: 24.4s)

sample372.0ms

Algorithm
intervals
Results
75.0ms47×body1280valid
63.0ms40×body640valid
17.0ms138×body80valid
9.0ms19×body320valid
4.0ms12×body160valid

simplify291.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
07257
113257
222257
329257
437257
543257
645257
done45257

prune18.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize77.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.0 (* (tan x) (tan x))))
0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))

rewrite99.0ms

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

series271.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- 1.0 (* (tan x) (tan x)))
111.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
46.0ms
(* (tan x) (tan x))
78.0ms
(* (tan x) (tan x))

simplify1.9s

Counts
131 → 131
Iterations

Useful iterations: done (1.9s)

IterNodesCost
015142422
137635971
2169734713
done500134586

prune737.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize31.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))
46.3b
(fma (- (tan x)) (tan x) (* (tan x) (tan x)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
25×pow1
22×add-sqr-sqrt
16×*-un-lft-identity add-cube-cbrt
12×tan-quot
10×add-cbrt-cube add-exp-log
swap-sqr associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
pow2 frac-times pow-plus pow-prod-down associate-*l/ prod-exp associate-*r/ pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
fma-udef
Counts
4 → 100
Calls
4 calls:
15.0ms
(* (tan x) (tan x))
12.0ms
(* (tan x) (tan x))
22.0ms
(* (tan x) (tan x))
1.0ms
(fma (- (tan x)) (tan x) (* (tan x) (tan x)))

series302.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(* (tan x) (tan x))
45.0ms
(* (tan x) (tan x))
54.0ms
(* (tan x) (tan x))
155.0ms
(fma (- (tan x)) (tan x) (* (tan x) (tan x)))

simplify6.9s

Counts
112 → 112
Iterations

Useful iterations: 3 (1.1s)

IterNodesCost
06425628
114420675
263519907
3473919352
done500019352

prune622.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 0.0b

localize42.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (+ 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))

rewrite128.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt
29×*-un-lft-identity
28×add-cube-cbrt
21×pow1 associate-*r* add-exp-log
20×times-frac
15×add-cbrt-cube
10×associate-*l*
tan-quot
swap-sqr prod-exp
unswap-sqr
expm1-log1p-u frac-times div-exp associate-*l/ associate-/r/ cbrt-unprod log1p-expm1-u add-log-exp
associate-/r* pow-prod-down associate-*r/ *-commutative associate-/l*
pow2 cbrt-undiv rec-exp flip3-+ pow-plus flip3-- 1-exp pow-sqr pow-prod-up flip-+ div-inv flip--
clear-num frac-2neg un-div-inv pow-flip inv-pow difference-of-squares
Counts
4 → 140
Calls
4 calls:
18.0ms
(/ 1 (+ 1.0 (* (tan x) (tan x))))
56.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
23.0ms
(* (tan x) (tan x))
24.0ms
(* (tan x) (tan x))

series334.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(/ 1 (+ 1.0 (* (tan x) (tan x))))
118.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
62.0ms
(* (tan x) (tan x))
63.0ms
(* (tan x) (tan x))

simplify3.5s

Counts
152 → 152
Iterations

Useful iterations: done (3.5s)

IterNodesCost
017549988
145340444
2318837664
done500137419

prune649.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize23.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))) (fma (tan x) (tan x) 1.0))
0.3b
(* (tan x) (tan x))
0.3b
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
28×*-un-lft-identity add-cube-cbrt
24×times-frac
17×log-pow
16×exp-prod
12×pow1
add-cbrt-cube add-exp-log difference-of-squares
add-log-exp
expm1-log1p-u tan-quot log1p-expm1-u associate-/l*
log-prod associate-/r* fma-neg swap-sqr associate-*r* associate-*l* prod-diff
flip3-- div-sub div-inv flip-- associate-/l/
pow2 frac-times cbrt-undiv log-div clear-num sub-neg frac-2neg pow-plus exp-diff diff-log div-exp rem-log-exp pow-prod-down associate-*l/ prod-exp associate-*r/ pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
Counts
4 → 118
Calls
4 calls:
5.0ms
(- 1.0 (* (tan x) (tan x)))
16.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
28.0ms
(* (tan x) (tan x))
23.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))))

series431.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(- 1.0 (* (tan x) (tan x)))
173.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
44.0ms
(* (tan x) (tan x))
149.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))))

simplify2.1s

Counts
130 → 130
Iterations

Useful iterations: done (2.1s)

IterNodesCost
020250939
142540928
2177840146
done500040009

prune682.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 0.0b

regimes301.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
010392
112392
done12392

end0.0ms

sample4.3s

Algorithm
intervals
Results
1.3s1465×body1280valid
1.2s4287×body80valid
851.0ms1308×body640valid
570.0ms342×body160valid
223.0ms598×body320valid