Details

Time bar (total: 18.3s)

sample156.0ms

Algorithm
intervals
Results
21.0ms37×body1280valid
16.0ms45×body640valid
13.0ms146×body80valid
4.0ms15×body320valid
2.0ms13×body160valid

simplify40.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0715
11315
22214
32914
43714
54214
64414
done4414

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (tan x) (tan x) 1.0)
0.2b
(- 1.0 (* (tan x) (tan x)))
0.2b
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
0.2b
(* (tan x) (tan x))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity
12×times-frac
11×pow1
add-exp-log add-cbrt-cube
add-log-exp
difference-of-squares
tan-quot expm1-log1p-u log1p-expm1-u associate-/l*
fma-neg swap-sqr associate-*r* associate-*l* prod-diff associate-/r*
flip3-- flip-- associate-/l/
cbrt-undiv pow2 frac-times sub-neg frac-2neg pow-plus diff-log div-sub associate-*r/ div-exp pow-prod-down associate-*l/ prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod fma-udef div-inv unswap-sqr
Counts
4 → 97
Calls
4 calls:
0.0ms
(fma (tan x) (tan x) 1.0)
8.0ms
(- 1.0 (* (tan x) (tan x)))
16.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
36.0ms
(* (tan x) (tan x))

series262.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(fma (tan x) (tan x) 1.0)
38.0ms
(- 1.0 (* (tan x) (tan x)))
130.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
46.0ms
(* (tan x) (tan x))

simplify2.4s

Counts
109 → 109
Iterations

Useful iterations: done (2.4s)

IterNodesCost
01551557
13301462
28931345
328091320
done50001314

prune468.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(fma (tan x) (tan x) 1.0)
0.2b
(/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0))
0.3b
(fma (- (tan x)) (tan x) 1.0)

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u associate-/r* log1p-expm1-u associate-/l* add-log-exp
fma-udef
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
3 → 49
Calls
3 calls:
1.0ms
(fma (tan x) (tan x) 1.0)
10.0ms
(/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0))
1.0ms
(fma (- (tan x)) (tan x) 1.0)

series421.0ms

Counts
3 → 9
Calls
3 calls:
79.0ms
(fma (tan x) (tan x) 1.0)
259.0ms
(/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0))
82.0ms
(fma (- (tan x)) (tan x) 1.0)

simplify2.1s

Counts
58 → 58
Iterations

Useful iterations: 3 (238.0ms)

IterNodesCost
087978
1160967
2377883
3984882
43063882
done5001882

prune262.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (tan x) (tan x) 1.0)
0.2b
(/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0))
0.3b
(log1p (/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0)))
0.3b
(fma (- (tan x)) (tan x) 1.0)

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
expm1-log1p-u
pow1 log1p-expm1-u add-log-exp
associate-/r* associate-/l*
fma-udef
cbrt-undiv log1p-udef frac-2neg log1p-expm1 div-exp clear-num div-inv
Counts
4 → 60
Calls
4 calls:
0.0ms
(fma (tan x) (tan x) 1.0)
5.0ms
(/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0))
0.0ms
(log1p (/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0)))
0.0ms
(fma (- (tan x)) (tan x) 1.0)

series783.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(fma (tan x) (tan x) 1.0)
228.0ms
(/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0))
389.0ms
(log1p (/ (fma (- (tan x)) (tan x) 1.0) (fma (tan x) (tan x) 1.0)))
88.0ms
(fma (- (tan x)) (tan x) 1.0)

simplify3.1s

Counts
72 → 72
Iterations

Useful iterations: done (3.1s)

IterNodesCost
01141290
12181274
25331133
314361126
447471124
done50001123

prune406.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
21×*-un-lft-identity
20×add-cube-cbrt times-frac
17×add-exp-log
13×associate-*r*
11×add-cbrt-cube
pow1
expm1-log1p-u div-exp prod-exp log1p-expm1-u add-log-exp
associate-*l* associate-/r* associate-/l* unswap-sqr
cbrt-undiv rec-exp 1-exp cbrt-unprod fma-udef div-inv
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
4 → 91
Calls
4 calls:
11.0ms
(/ 1 (fma (tan x) (tan x) 1.0))
1.0ms
(fma (tan x) (tan x) 1.0)
34.0ms
(* (fma (- (tan x)) (tan x) 1.0) (/ 1 (fma (tan x) (tan x) 1.0)))
1.0ms
(fma (- (tan x)) (tan x) 1.0)

series915.0ms

Counts
4 → 12
Calls
4 calls:
138.0ms
(/ 1 (fma (tan x) (tan x) 1.0))
484.0ms
(fma (tan x) (tan x) 1.0)
205.0ms
(* (fma (- (tan x)) (tan x) 1.0) (/ 1 (fma (tan x) (tan x) 1.0)))
88.0ms
(fma (- (tan x)) (tan x) 1.0)

simplify2.0s

Counts
103 → 103
Iterations

Useful iterations: 2 (110.0ms)

IterNodesCost
01311581
12701438
26651278
320351278
done50001278

prune352.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

regimes137.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01118
done1118

end0.0ms

sample4.2s

Algorithm
intervals
Results
1.4s1269×body640valid
1.3s1460×body1280valid
898.0ms4344×body80valid
228.0ms601×body320valid
85.0ms326×body160valid