Details

Time bar (total: 6.8s)

sample310.0ms

Algorithm
intervals
Results
235.0ms120×body1280valid
19.0ms256×pre80true
17.0ms68×body640valid
4.0ms25×body320valid
2.0ms36×body80valid
1.0msbody160valid

simplify22.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune6.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.6b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
4.3b
(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:
5.0ms
(+ x (- (tan (+ y z)) (tan a)))
6.0ms
(- (tan (+ y z)) (tan a))
6.0ms
(tan (+ y z))

series108.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(+ x (- (tan (+ y z)) (tan a)))
32.0ms
(- (tan (+ y z)) (tan a))
31.0ms
(tan (+ y z))

simplify38.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune101.0ms

Filtered
51 candidates to 39 candidates (23.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New43851
Fresh000
Picked101
Done000
Total44852

Merged error: 0.1b

Counts
52 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

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

series324.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
117.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
130.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
22.0ms
(* (tan y) (tan z))

simplify118.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
04491259
115031211
249921203
350011203

prune178.0ms

Filtered
102 candidates to 76 candidates (25.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New948102
Fresh527
Picked101
Done000
Total10010110

Merged error: 0.1b

Counts
110 → 10

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
17×add-log-exp
14×add-sqr-sqrt
add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
tan-quot exp-prod
sum-log distribute-lft-out
diff-log associate-*r* associate-*l* rem-exp-log distribute-lft-out--
associate-+r- sub-neg associate-+r+ difference-of-squares
+-commutative frac-times flip3-- flip3-+ times-frac exp-diff associate-*r/ exp-sum pow-prod-down associate-*l/ prod-exp *-commutative frac-sub flip-- cbrt-unprod flip-+ unswap-sqr
Counts
4 → 71
Calls
4 calls:
11.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
15.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
5.0ms
(* (tan y) (tan z))
14.0ms
(exp (+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))

series423.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
124.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
23.0ms
(* (tan y) (tan z))
160.0ms
(exp (+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))

simplify73.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
03331021
1989959
23279952
35001952

prune158.0ms

Filtered
83 candidates to 60 candidates (27.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New81283
Fresh279
Picked101
Done000
Total84993

Merged error: 0.1b

Counts
93 → 9

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.0ms

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

series282.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(/ (* (tan y) (sin z)) (cos z))
117.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
128.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
15.0ms
(* (tan y) (sin z))

simplify39.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
03911035
11334960
25002951

prune89.0ms

Filtered
86 candidates to 62 candidates (27.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New84286
Fresh178
Picked101
Done000
Total86995

Merged error: 0.1b

Counts
95 → 9

regimes847.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02112
12112

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.6s3850×body1280valid
525.0ms8000×pre80true
486.0ms1999×body640valid
122.0ms716×body320valid
64.0ms1142×body80valid
37.0ms293×body160valid

Profiling

Loading profile data...