Details

Time bar (total: 15.8s)

sample167.0ms

Algorithm
intervals
Results
97.0ms127×body1280valid
25.0ms61×body640valid
10.0ms256×pre80true
6.0ms23×body320valid
3.0ms17×body160valid
2.0ms28×body80valid

simplify75.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
099
1159
2229
3319
4379
5479
6549
7649
8829
91169
101479
done1479

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.1b
(- (tan (+ y z)) (tan a))
3.9b
(tan (+ y z))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
7.0ms
(+ x (- (tan (+ y z)) (tan a)))
7.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(tan (+ y z))

series282.0ms

Counts
3 → 9
Calls
3 calls:
118.0ms
(+ x (- (tan (+ y z)) (tan a)))
115.0ms
(- (tan (+ y z)) (tan a))
49.0ms
(tan (+ y z))

simplify1.3s

Counts
51 → 51
Iterations

Useful iterations: 3 (118.0ms)

IterNodesCost
091627
1197590
2434572
31054570
43933570
done5000570

prune148.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.1b
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
0.1b
(+ (tan y) (tan z))
0.2b
(* (tan y) (tan z))

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity
17×add-sqr-sqrt
15×add-cube-cbrt
12×times-frac
11×add-log-exp
tan-quot add-exp-log add-cbrt-cube
distribute-lft-out
pow1
associate-/l*
flip3-+ associate-*r* associate-*l* associate-/r* sum-log flip-+ associate-/l/
+-commutative associate-+r+ frac-add associate-/r/
cbrt-undiv frac-times associate-+r- sub-neg flip3-- frac-2neg diff-log associate-*r/ div-exp pow-prod-down associate-*l/ prod-exp clear-num *-commutative flip-- cbrt-unprod div-inv distribute-lft-out-- unswap-sqr
Counts
4 → 87
Calls
4 calls:
72.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
11.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
3.0ms
(+ (tan y) (tan z))
5.0ms
(* (tan y) (tan z))

series730.0ms

Counts
4 → 12
Calls
4 calls:
333.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
221.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
88.0ms
(+ (tan y) (tan z))
88.0ms
(* (tan y) (tan z))

simplify1.2s

Counts
99 → 99
Iterations

Useful iterations: 3 (375.0ms)

IterNodesCost
01731733
14201668
211841568
334971567
done50011567

prune331.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (tan a))
0.1b
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
0.1b
(+ (tan y) (tan z))
0.2b
(* (tan y) (tan z))

rewrite167.0ms

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity
19×add-sqr-sqrt
15×add-cube-cbrt
12×times-frac
11×add-log-exp
10×tan-quot
add-exp-log add-cbrt-cube
pow1 distribute-lft-out
associate-/l*
flip3-+ associate-*r* associate-*l* associate-/r* flip-+ associate-/l/
flip3-- diff-log frac-add sum-log associate-/r/ frac-sub flip-- distribute-lft-out--
cbrt-undiv +-commutative frac-times sub-neg frac-2neg associate-*r/ div-exp pow-prod-down associate-*l/ prod-exp associate--l+ clear-num *-commutative cbrt-unprod div-inv difference-of-squares unswap-sqr
Counts
4 → 89
Calls
4 calls:
145.0ms
(- (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (tan a))
11.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
3.0ms
(+ (tan y) (tan z))
5.0ms
(* (tan y) (tan z))

series720.0ms

Counts
4 → 12
Calls
4 calls:
328.0ms
(- (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (tan a))
212.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
89.0ms
(+ (tan y) (tan z))
90.0ms
(* (tan y) (tan z))

simplify1.3s

Counts
101 → 101
Iterations

Useful iterations: 3 (420.0ms)

IterNodesCost
01951944
14701839
213601765
341131735
done50001735

prune328.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan y) (tan z))
0.3b
(* (tan a) (tan a))
0.4b
(/ (- (* (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))))) (* (tan a) (tan a))) (+ (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (tan a)))
0.4b
(* (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))))

rewrite351.0ms

Algorithm
rewrite-expression-head
Rules
64×*-un-lft-identity
42×tan-quot
31×add-sqr-sqrt
26×frac-times flip3-+ flip-+ associate-/l/
25×add-cube-cbrt
24×frac-sub
21×distribute-lft-out
20×pow1 times-frac
18×associate-*r/ associate-*l/
12×add-exp-log add-cbrt-cube
10×associate-*r* associate-*l*
swap-sqr
difference-of-squares
associate-/r*
associate-/r/ associate-/l* add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
pow2 pow-plus frac-add pow-sqr pow-prod-up
cbrt-undiv distribute-rgt-in flip3-- frac-2neg distribute-lft-in div-sub div-exp clear-num flip-- div-inv
Counts
4 → 161
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan a) (tan a))
218.0ms
(/ (- (* (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))))) (* (tan a) (tan a))) (+ (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (tan a)))
116.0ms
(* (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))))

series1.7s

Counts
4 → 12
Calls
4 calls:
89.0ms
(* (tan y) (tan z))
36.0ms
(* (tan a) (tan a))
1.2s
(/ (- (* (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))))) (* (tan a) (tan a))) (+ (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (tan a)))
370.0ms
(* (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (+ x (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))))

simplify1.1s

Counts
173 → 173
Iterations

Useful iterations: 2 (388.0ms)

IterNodesCost
03048279
18467473
235727078
done50017078

prune601.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

regimes397.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02347
13147
done3147

end0.0ms

sample4.7s

Algorithm
intervals
Results
2.8s3884×body1280valid
860.0ms2024×body640valid
324.0ms8000×pre80true
190.0ms629×body320valid
102.0ms1169×body80valid
57.0ms294×body160valid